NEWHEADER

The 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.

struct NEWHEADER { 
    WORD Reserved; 
    WORD ResType; 
    WORD ResCount; 
} NEWHEADER, *PNEWHEADER; 
NEWHEADER NewHeader; 
 

Members

Reserved
Reserved; must be zero.
ResType
Specifies the resource type. This member must be RES_ICON for icons and RES_CURSOR for cursors.
ResCount
Specifies 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.

See Also

Resources Overview, Resource Structures, RESDIR