This macro expands to:
#define WinIsMenuItemEnabled(hwndMenu, usId) (!(BOOL)WinSendMsg(hwndMenu, MM_QUERYITEMATTR, MPFROM2SHORT(usId, TRUE), MPFROMSHORT(MIA_DISABLED)))
This function requires the existence of a message queue.
This function returns TRUE if called with an invalid window handle or menu item. The window handle and menu item should be separately validated before being passed as parameters to this function.