MENUITEMTEMPLATEHEADER structure

Defines the header for a menu template. A complete menu template consists of a header and one or more menu item lists.

Syntax


typedef struct {
  WORD versionNumber;
  WORD offset;
} MENUITEMTEMPLATEHEADER, *PMENUITEMTEMPLATEHEADER;

Members

versionNumber

Type: WORD

The version number. This member must be zero.

offset

Type: WORD

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
LoadMenuIndirect
MENUITEMTEMPLATE
Conceptual
Menus

 

 

Community Additions

ADD
Show:
© 2014 Microsoft