The ICM_COMPRESS_QUERY message is sent to a video compression driver to determine if it can compress a specific input format, or if it can compress the input format to a specific output format.
Returns ICERR_OK if the specified compression is supported. Otherwise, returns ICERR_BADFORMAT, indicating that the input or output format is not supported.
On receiving this message, the driver should examine the BITMAPINFO structure associated with dwParam1 to see if it can compress the input format. The driver should return ICERR_OK only if it can compress the input format to the output format specified for dwParam2. (If any output format is acceptable, dwParam2 is zero.)