Microsoft DirectX 9.0 |
The CheckBitFields method validates the color masks in a VIDEOINFO structure.
Syntax
BOOL CheckBitFields(
const VIDEOINFO *pInput
);
Parameters
pInput
Pointer to a VIDEOINFO structure.
Return Value
Returns TRUE if the color masks are valid, or FALSE otherwise.
Remarks
This method verifies that the color mask for each color component is between one and eight bits long, and that each color mask is a contiguous sequence of bits. Call this method only when the biCompression member is set to BI_BITFIELDS.
See Also