ICDECOMPRESS

typedef struct {
    DWORD dwFlags;
    LPBITMAPINFOHEADER lpbiInput;
    LPVOID lpInput;
    LPBITMAPINFOHEADER lpbiOutput;
    LPVOID lpOutput;
    DWORD ckid;
} ICDECOMPRESS;

The ICDECOMPRESS structure is used with the ICM_DECOMPRESS message to specify the parameters for decompressing the data.

Members
dwFlags
Specifies applicable flags. The following flags are defined:

Flag

Meaning

ICDECOMPRESS_HURRYUP

Indicates the data is just buffered and not drawn to the screen. Use this flag for the fastest decompression.

ICDECOMPRESS_UPDATE

Indicates the screen is being updated.

ICDECOMPRESS_PREROLL

Indicates this frame is not drawn because it is prior to the point in the movie where play begins.

ICDECOMPRESS_NULLFRAME

Indicates this frame does not have any data, and the decompressed image should be left the same.

ICDECOMPRESS_NOTKEYFRAME

Indicates that this frame is not a key frame.

lpbiInput
Specifies a pointer to a BITMAPINFOHEADER structure containing the input format.
lpInput
Specifies a pointer to a data buffer containing the input data.
lpbiOutput
Specifies a pointer to a BITMAPINFOHEADER structure containing the output format.
lpOutput
Specifies a pointer to a data buffer where the driver should write the decompressed image.
ckid
Specifies the chunk ID from the AVI file.