GetMenuState function user32

int GetMenuState(
  1. HMENU hMenu,
  2. int uId,
  3. MENU_ITEM_FLAGS uFlags
)

Retrieves the menu flags associated with the specified menu item.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getmenustate.

Implementation

@pragma('vm:prefer-inline')
int GetMenuState(HMENU hMenu, int uId, MENU_ITEM_FLAGS uFlags) =>
    _GetMenuState(hMenu, uId, uFlags);