1
0
Fork 0
x64dbg/docs/developers/functions/gui/GuiMenuAddEntry.md

1.1 KiB

GuiMenuAddEntry

This function adds a menu entry to a menu.

int GuiMenuAddEntry(int hMenu, const char* title)

Parameters

hMenu Menu handle from a previously-added menu or from the main menu.

title A const char repesenting the text title of the menu item to be added.

Return Value

Returns the menu handle (unique), or -1 on failure.

Example

hNewMenuEntry = GuiMenuAddEntry(hMenu, &szMenuEntryText);

Note: Plugin developers should make use of the plugin functions provided: