The ICDecompressGetFormat macro requests the output format of the decompressed data from a video decompression driver. You can use this macro or explicitly call the ICM_DECOMPRESS_GET_FORMAT message.
DWORD ICDecompressGetFormat(
hic,
lpbiInput,
lpbiOutput
);
If lpbiOutput is zero, returns the size of the structure.
If lpbiOutput is nonzero, returns ICERR_OK if successful or an error otherwise.
If lpbiOutput is nonzero, the driver should fill the BITMAPINFO structure with the default output format corresponding to the input format specified for lpbiInput. If the compressor can produce several formats, the default format should be the one that preserves the greatest amount of information.
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, BITMAPINFO, ICDecompressGetFormatSize, ICM_DECOMPRESS_GET_FORMAT