GetMenuState function user32
Retrieves the menu flags associated with the specified menu item. If the menu item opens a submenu, this function also returns the number of items in the submenu.
UINT GetMenuState(
HMENU hMenu,
UINT uId,
UINT uFlags
);
Implementation
int GetMenuState(int hMenu, int uId, int uFlags) =>
_GetMenuState(hMenu, uId, uFlags);