Getasmfindmodel, Getasmfindmodelxy

OllyDbg Plugin API

Getasmfindmodel, Getasmfindmodelxy

Display dialog box allowing user to enter assembler command (imprecise commands are also accepted) and create set of search models. If user cancels input, model[0].length is 0. Function Getasmfindmodelxy additionally contains the preferred screen coordinates of the bottom left point of the dialog window.

void Getasmfindmodel(t_asmmodel model[NMODELS],char letter,int searchall);

void Getasmfindmodelxy(t_asmmodel model[NMODELS],char letter,int searchall,int x,int y);

Parameters:

model - pointer of array of NMODELS t_asmmodel structures that receives set of models created by Getasmfindmodel on success;

letter - first character to be entered in edit control, or 0 if there is no character. Useful if function is called as a reaction on a key pressed by user;

searchall - if nonzero, hides checkbox "Entire block" that controls global search flag. Actual state of this flag is returned by call to Plugingetvalue(VAL_GLOBALSEARCH);

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: Gettext, Gethexstring, Getlong, t_asmmodel, Gettableselectionxy