ICM_DECOMPRESS_QUERY

The ICM_DECOMPRESS_QUERY message is sent to a video compression driver to determine if the driver can decompress a specific input format, or if it can decompress the input format to a specific output format.

Parameters

dwParam1

Specifies a pointer to a BITMAPINFO structure describing the input format.

dwParam2

Specifies zero or a pointer to a BITMAPINFO structure used to return the output format. Zero indicates that any output format is acceptable.

Return Value

Returns ICERR_OK if the specified decompression is supported. Otherwise returns ICERR_BADFORMAT, indicating that the input or output format is not supported.