Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft