NEWHEADER structure

Contains the number of icon or cursor components in a resource group. The structure definition provided here is for explanation only; it is not present in any standard header file.

Syntax

typedef struct {
  WORD Reserved;
  WORD ResType;
  WORD ResCount;
} NEWHEADER, *NEWHEADER;

Members

Reserved

Type: WORD

Reserved; must be zero.

ResType

Type: WORD

The resource type. This member must have one of the following values.

Value Meaning
RES_CURSOR
2
Cursor resource type.
RES_ICON
1
Icon resource type.

ResCount

Type: WORD

The number of icon or cursor components in the resource group.

Remarks

One or more RESDIR structures immediately follow the NEWHEADER structure in the .res file. The ResCount member specifies the number of RESDIR structures.

Requirements

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

See also

Reference

RESDIR

Conceptual

Resources