PALETTE_ENTRIES (Compact 2013)

3/26/2014

This macro retrieves the number of colors in the video image's palette.

Syntax

PALETTE_ENTRIES(
    pbmi
)

Parameters

  • pbmi
    Pointer to the Win32 BITMAPINFOHEADER structure that specifies the video image.

Return Value

Returns the number of colors in the video image's palette.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Bitmap Macros