Szerkesztés

Megosztás a következőn keresztül:


ICDecompressQuery macro (vfw.h)

The ICDecompressQuery macro queries a video decompression driver to determine if it supports a specific input format or if it can decompress a specific input format to a specific output format. You can use this macro or explicitly call the ICM_DECOMPRESS_QUERY message.

Syntax

DWORD ICDecompressQuery(
     hic,
     lpbiInput,
     lpbiOutput
);

Parameters

hic

Handle to a decompressor.

lpbiInput

Pointer to a BITMAPINFO structure containing the input format.

lpbiOutput

Pointer to a BITMAPINFO structure containing the output format. You can specify zero for this parameter to indicate any output format is acceptable.

Return value

Type: DWORD

Returns ICERR_OK if the specified decompression is supported or ICERR_BADFORMAT otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

Video Compression Macros

Video Compression Manager