ICONRESDIR structure

Contains the dimensions and color format of an individual icon image 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 {
  BYTE Width;
  BYTE Height;
  BYTE ColorCount;
  BYTE reserved;
} ICONRESDIR;

Members

Width

Type: BYTE

The width of the icon, in pixels. Acceptable values are 16, 32, and 64.

Height

Type: BYTE

The height of the icon, in pixels. Acceptable values are 16, 32, and 64.

ColorCount

Type: BYTE

The number of colors in the icon. Acceptable values are 2, 8, and 16.

reserved

Type: BYTE

Reserved; must be set to the same value as that of the reserved field in the icon file header.

Remarks

The ICONRESDIR structure is passed in the RESDIR structure if the RESDIR structure describes an icon.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

See also

Reference
RESDIR
Conceptual
Resources

 

 

Community Additions

ADD
Show:
© 2014 Microsoft