Determining If a Driver Can Handle the Input Format
[The feature associated with this page, Video Compression Manager, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
The following example shows how to check the input format with the ICDrawQuery macro.
// lpbiIn points to BITMAPINFOHEADER structure indicating the input
// format.
if (ICDrawQuery(hIC, lpbiIn) == ICERR_OK)
{
// Driver recognizes the input format.
}
else
{
// Need a different decompressor.
}