Partager via


CDrawImage::UpdateColourTable

 
Microsoft DirectShow 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.

Requirements

**  Header:** Declared in Winutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also