Share via


PALETTISED (Compact 2013)

3/26/2014

This macro checks if the video image's color palette is 8-bit or less.

Syntax

PALETTISED(
    pbmi
)

Parameters

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

Return Value

Returns nonzero if the video image's palette contains 256 or fewer colors, or zero otherwise.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Bitmap Macros