Share via


PALETTE_ENTRIES

 
Microsoft DirectShow 9.0

PALETTE_ENTRIES

The PALETTE_ENTRIES macro retrieves the maximum number of colors in the palette of a specified bitmap.

Syntax

  PALETTE_ENTRIES(
  pbmi
  )

Parameters

pbmi

Pointer to a VIDEOINFOHEADER structure or VIDEOINFO structure. 

Return Value

Returns 2 raised to the power of the color depth; that is, 1 << bmiHeader.biBitCount.

Requirements

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

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

See Also