ICM_DECOMPRESS_QUERY

The ICM_DECOMPRESS_QUERY message 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 send this message explicitly or by using the ICDecompressQuery macro.

ICM_DECOMPRESS_QUERY 
wParam = (DWORD) (LPVOID) lpbiInput; 
lParam = (DWORD) (LPVOID) lpbiOutput; 
 

Parameters

lpbiInput
Address of a BITMAPINFO structure containing the input format.
lpbiOutput
Address of a BITMAPINFO structure containing the output format. You can specify zero for this parameter to indicate any output format is acceptable.

Return Values

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

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Compression Manager Overview, Video Compression Messages, BITMAPINFO, ICDecompressQuery