GuiMenuAddEntry
此功能将菜单条目添加到菜单。
int GuiMenuAddEntry(int hMenu, const char* title)
参数
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.
返回值
Returns the menu handle (unique), or -1 on failure.
示例
hNewMenuEntry = GuiMenuAddEntry(hMenu, &szMenuEntryText);
相关函数
Note: Plugin developers should make use of the plugin functions provided: