Undocument API function

procedure IDE_ShowToolButtonMenu(ID, Index: Integer; Name, Items: PAnsiChar); cdecl;

Will Show a PopupMenu with items as defined in Items as:

n1=item1n2=Item2

n is the index for the menu, item is the description.

function IDE_GetSyntaxAnalyzer(Name: PAnsiChar): PAnsiChar; cdecl;

Returns the definition of the SyntaxAnalyzer with the given name. It's for internal use only.
 
I got functions' list, coming into plugin through RegisterCallback() in v.14.0.6.1988.
Unknown functions for me are: 155, 170, 171, 172, 177, 290, 291
178 is

Code:
int  (*IDE_GetAppHandleEx)() = (int(*)()) 178;

178 : @IDE_GetAppHandleEx := Addr;

it is described in \PlugInDoc\Interface\PlugInIntf.pas

155 seems to be IDE_SetSelectedText(char*) don't know what it returns;
170 is IDE_MainApplication() without parameters, returns pointer to some heavy struct;
171 is IDE_MainForm() - no params, return - ?;
172 IDE_Mouse() - seems to have one 32-bit parameter;
177 IDE_GetSyntaxAnalyzer() - 1 out parameter and some return value;
290 unnamed function, returning some flag, based on some internal variable;
291 much more complex unnamed function with 1 out param.
 
Last edited:
summary

Code:
void (*IDE_SetSelectedText)(char *p) = (void(*)(char*)) 155;
char*(*IDE_MainApplication)() = (char*(*)()) 170;
int  (*IDE_MainForm)() = (int(*)()) 171;
int  (*IDE_Mouse)(int) = (int(*)(int)) 172;
char*(*IDE_GetSyntaxAnalyzer)(char *Name) = (char*(*)(char*)) 177;
int  (*IDE_290)() = (int(*)()) 290;
void*(*IDE_291)(char *p) = (void*(*)(char*)) 291;
 
Back
Top