ICONRESDIR 

The ICONRESDIR structure contains the dimensions and color format of an individual icon image in a resource group.

struct ICONRESDIR { 

    BYTE Width;

    BYTE Height;

    BYTE ColorCount;

    BYTE reserved;

} ICONRESDIR;

 

Members

Width

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

Height

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

ColorCount

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

reserved

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.

See Also

RESDIR