RemoveMenu function user32

int RemoveMenu(
  1. int hMenu,
  2. int uPosition,
  3. int uFlags
)

Deletes a menu item or detaches a submenu from the specified menu. If the menu item opens a drop-down menu or submenu, RemoveMenu does not destroy the menu or its handle, allowing the menu to be reused. Before this function is called, the GetSubMenu function should retrieve a handle to the drop-down menu or submenu.

BOOL RemoveMenu(
  HMENU hMenu,
  UINT  uPosition,
  UINT  uFlags
);

Implementation

int RemoveMenu(int hMenu, int uPosition, int uFlags) =>
    _RemoveMenu(hMenu, uPosition, uFlags);