_plugin_menuaddentry

此功能将菜单条目添加到菜单。

bool _plugin_menuaddentry( int hMenu, //menu handle to add the new child menu to int hEntry, //plugin-wide identifier for the menu entry const char* title //menu entry title );

参数

hMenu:来自先前添加的子菜单或主插件菜单的菜单句柄。
hEntry:A plugin-wide identifier for the menu entry. This is the value you will get in the PLUG_CB_MENUENTRY callback structure.
title:菜单条目标题。

返回值

Returns true when the entry was added without problems, false otherwise.