Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.01 KB

determining-if-a-driver-can-handle-the-input-format.md

File metadata and controls

44 lines (29 loc) · 1.01 KB
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
video compression manager (VCM),input format
VCM (video compression manager),input format
ICDrawQuery macro
article
4/26/2023
UpdateFrequency5

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. 
}