|Microsoft DirectX 9.0|
The CheckBitFields method validates the color masks in a VIDEOINFO structure.
BOOL CheckBitFields( const VIDEOINFO *pInput );
Pointer to a VIDEOINFO structure.
Returns TRUE if the color masks are valid, or FALSE otherwise.
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.