DeleteMenu function user32
Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu.
BOOL DeleteMenu(
HMENU hMenu,
UINT uPosition,
UINT uFlags
);
Implementation
int DeleteMenu(int hMenu, int uPosition, int uFlags) =>
_DeleteMenu(hMenu, uPosition, uFlags);