CImageDisplay::CheckBitFields
Microsoft DirectShow 9.0 |
CImageDisplay::CheckBitFields
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.
Requirements
** Header:** Declared in Winutil.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also