_plugin_menuclear

This function removes all entries and child menus from a menu. It will not remove the menu itself.

bool _plugin_menuclear ( int hMenu //menu handle of the menu to clear );

参数

hMenu:来自先前添加的子菜单或主插件菜单的菜单句柄。

返回值

Returns true on success.