Currently in windows.inc in MENUITEMINFO Structure 1 member missing: hbmpItem
Must be:
MENUITEMINFOA STRUCT
cbSize DWORD ?
fMask DWORD ?
fType DWORD ?
fState DWORD ?
wID DWORD ?
hSubMenu DWORD ?
hbmpChecked DWORD ?
hbmpUnchecked DWORD ?
dwItemData DWORD ?
dwTypeData DWORD ?
cch DWORD ?
hbmpItem DWORD ?
MENUITEMINFOA ENDS
MENUITEMINFO equ <MENUITEMINFOA>
MSDN info:
The MENUITEMINFO structure contains information about a menu item.
Syntax
typedef struct tagMENUITEMINFO {
UINT cbSize;
UINT fMask;
UINT fType;
UINT fState;
UINT wID;
HMENU hSubMenu;
HBITMAP hbmpChecked;
HBITMAP hbmpUnchecked;
ULONG_PTR dwItemData;
LPTSTR dwTypeData;
UINT cch;
HBITMAP hbmpItem;
} MENUITEMINFO, *LPMENUITEMINFO;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/menus/menureference/menustructures/menuiteminfo.asp