XPLMCheckMenuItemState
XPLM_API void XPLMCheckMenuItemState(
XPLMMenuID inMenu,
int index,
XPLMMenuCheck * outCheck);
This routine returns whether a menu item is checked or not. A menu item’s check mark may be on or off, or a menu may not have an icon at all.