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.
DWORD ICDecompressQuery(
hic,
lpbiInput,
lpbiOutput
);
Returns ICERR_OK if the specified decompression is supported or ICERR_BADFORMAT otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Compression Manager Overview, Video Compression Macros, ICM_DECOMPRESS_QUERY