DestroyMenu function Null safety user32
- int hMenu
Destroys the specified menu and frees any memory that the menu occupies.
BOOL DestroyMenu(
HMENU hMenu
);
Implementation
int DestroyMenu(int hMenu) {
final _DestroyMenu = _user32.lookupFunction<Int32 Function(IntPtr hMenu),
int Function(int hMenu)>('DestroyMenu');
return _DestroyMenu(hMenu);
}