MENUITEMTEMPLATEHEADER

The MENUITEMTEMPLATEHEADER structure defines the header for a menu template. A complete menu template consists of a header and one or more menu item lists.

typedef struct {          // mith 
    WORD versionNumber;   // version number; must be zero 
    WORD offset;          // offset first MENUITEMTEMPLATE structure 
} MENUITEMTEMPLATEHEADER; 
 

Members

versionNumber
Specifies the version number. This member must be zero.
offset
Specifies the offset, in bytes, from the end of the header. The menu item list begins at this offset. Usually, this member is zero, and the menu item list follows immediately after the header.

Remarks

One or more MENUITEMTEMPLATE structures are combined to form the menu item list.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.

See Also

Menus Overview, Menu Structures, LoadMenuIndirect, MENUITEMTEMPLATE