Microsoft DirectX 9.0

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

Array of color masks (one per color element).

bmiColors

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