Microsoft DirectX 9.0

GetBitmapPalette

The GetBitmapPalette function returns the first palette entry in a VIDEOINFOHEADER structure.

Syntax

const RGBQUAD * GetBitmapPalette(
  const VIDEOINFOHEADER *pVideoInfo
);

Parameters

pVideoInfo

Pointer to a VIDEOINFOHEADER structure.

Return Value

Returns a pointer to the first palette entry.

Requirements

Header: Declared in Wxutil.h; include Streams.h.

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