GetMenuItemID function user32
Retrieves the menu item identifier of a menu item located at the specified position in a menu.
UINT GetMenuItemID(
[in] HMENU hMenu,
[in] int nPos
);
Implementation
int GetMenuItemID(int hMenu, int nPos) => _GetMenuItemID(hMenu, nPos);