DestroyMenu function Null safety user32

int DestroyMenu(
  1. int hMenu
)

Destroys the specified menu and frees any memory that the menu occupies.

BOOL DestroyMenu(
  HMENU hMenu
);

Implementation

int DestroyMenu(int hMenu) => _DestroyMenu(hMenu);