Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICDrawQuery macro

The ICDrawQuery macro queries a rendering driver to determine if it can render data in a specific format. You can use this macro or explicitly call the ICM_DRAW_QUERY message.

Syntax


DWORD ICDrawQuery(
    hic,
    lpbiInput
);

Parameters

hic

Handle to a driver.

lpbiInput

Pointer to a BITMAPINFO structure containing the input format.

Return value

Returns ICERR_OK if the driver can render data in the specified format or ICERR_BADFORMAT otherwise.

Remarks

This macro differs from the ICDrawBegin macro in that it queries the driver in a general sense. ICDrawBegin determines if the driver can draw the data using the specified format under specific conditions, such as stretching the image.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Video Compression Manager
Video Compression Macros

 

 

Show: