MENUHEADER structure

Contains version information for the menu resource. The structure definition provided here is for explanation only; it is not present in any standard header file.

Syntax

typedef struct {
  WORD wVersion;
  WORD cbHeaderSize;
} MENUHEADER;

Members

wVersion

Type: WORD

The version number of the menu template. This member must be equal to zero to indicate that this is an RT_MENU created with a standard menu template.

cbHeaderSize

Type: WORD

The size of the menu template header. This value is zero for menus you create with a standard menu template.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]

See also

Reference

MENUEX_TEMPLATE_HEADER

MENUEX_TEMPLATE_ITEM

MENUITEMTEMPLATE

MENUITEMTEMPLATEHEADER

NORMALMENUITEM

POPUPMENUITEM

Conceptual

Resources