Microsoft DirectX 8.1 (C++)

TRUECOLORINFO Structure

The TRUECOLORINFO structure contains color palette and bitmask information for a video image.

Syntax

typedef struct tag_TRUECOLORINFO {
    DWORD dwBitMasks[iMASK_COLORS];
    RGBQUAD bmiColors[iPALETTE_COLORS];
} TRUECOLORINFO;

Members

dwBitMasks[iMASK_COLORS]

Array of color masks (one per color element).

bmiColors[iPALETTE_COLORS]

Array of palette colors.

Remarks

This structure is not used for some RGB formats. For more information about which fields are valid under different circumstances, see the Platform SDK documentation for BITMAPINFO.

See Also