Microsoft DirectX 9.0 |
The PALETTISED macro checks whether a bitmap has a color depth of 8 bits or less.
Syntax
PALETTISED(pbmi);
Parameters
pbmi
Pointer to a VIDEOINFOHEADER structure or VIDEOINFO structure.
Return Value
Returns TRUE if the color depth (bmiHeader.biBitCount) is 8 bits or less, or FALSE otherwise.
See Also