DeleteMenu function Null safety user32

int DeleteMenu(
  1. int hMenu,
  2. int uPosition,
  3. int uFlags

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


int DeleteMenu(int hMenu, int uPosition, int uFlags) =>
    _DeleteMenu(hMenu, uPosition, uFlags);