title | description | ms.assetid | keywords | ms.topic | ms.date | ms.custom | |||
---|---|---|---|---|---|---|---|---|---|
Determining If a Driver Can Handle the Input Format |
Determining If a Driver Can Handle the Input Format |
456eab43-d830-4a28-b724-3ef35b852372 |
|
article |
4/26/2023 |
UpdateFrequency5 |
[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.
}