Microsoft DirectX 9.0

CDrawImage::UpdateColourTable

The UpdateColourTable method updates the color table with a new palette.

Syntax

void UpdateColourTable(
    HDC hdc,
    BITMAPINFOHEADER *pbmi
);

Parameters

hdc

Device context containing the image.

pbmi

Pointer to a BITMAPINFOHEADER structure containing the new palette.

Return Value

No return value.

See Also