Getline, Getlinexy

OllyDbg Plugin API

Getline, Getlinexy

Functions display dialog asking user to enter source line number in unsigned decimal format. Return 0 on success and -1 if error occured or user cancelled action. Function Getlinexy additionally contains the preferred screen coordinates of the bottom left point of the dialog window.

int Getline(char *title,ulong *data);

int Getlinexy(char *title,ulong *data,int x,int y);

Parameters:

title - title of dialog box;

data - pointer to 32-bit buffer containing initial value of line number. On return, buffer contains entered value. If user cancels action, value remains unchanged;

x - absolute X screen coordinate, in pixels, of the bottom left corner of the dialog window. If necessary, dialog will automatically adjust its position so that it remains visible;

y - absolute Y screen coordinate, in pixels, of the bottom left corner of the dialog window.

See also: Getlong, Getregxy, Getfloat, Getfloat10, Getmmx, Get3dnow, Gettableselectionxy