ICDECOMPRESSEX

typedef struct {

    DWORD dwFlags;

    LPBITMAPINFOHEADER lpbiSrc;

    LPVOID lpSrc;

    LPBITMAPINFOHEADER lpbiDst;

    LPVOID lpDst;

    int xDst;

    int yDst;

    int dxDst;

    int dyDst;

    int xSrc;

    int ySrc;

    int dxSrc;

    int dySrc;

} ICDECOMPRESSEX;

The ICDECOMPRESSEX structure is used with the ICM_DECOMPRESSEX 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 will not actually be drawn, because it is before the point in the movie where play will start.
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.

lpbiSrc

Specifies a pointer to a BITMAPINFOHEADER structure containing the input format.

lpSrc

Specifies a pointer to a data buffer containing the input data.

lpbiDst

Specifies a pointer to a BITMAPINFOHEADER structure containing the output format.

lpDst

Specifies a pointer to a data buffer where the driver should write the decompressed image.

xDst

Specifies the x-coordinate of the destination rectangle within the DIB specified by lpbiDst.

yDst

Specifies the y-coordinate of the destination rectangle.

dxDst

Specifies the width of the destination rectangle.

dyDst

Specifies the height of the destination rectangle.

xSrc

Specifies the x-coordinate of the source rectangle, within the DIB specified by lpbiSrc.

ySrc

Specifies the y-coordinate of the source rectangle.

dxSrc

Specifies the width of the source rectangle.

dySrc

Specifies the height of the source rectangle.