Back to X64dbg

_plugin_menuadd

docs/developers/plugins/API/menuadd.rst

2026.04.20498 B
Original Source

=============== _plugin_menuadd

This function adds a new child menu to a menu.

::

int _plugin_menuadd(
    int hMenu, //menu handle to add the new child menu to
    const char* title //child menu title
);

Parameters

:hMenu: Menu handle from a previously-added child menu or from the main plugin menu. :title: Menu title.


Return Values

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