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;

Contains decompression parameters used with the ICM_DECOMPRESSEX message

dwFlags

Specifies applicable flags. The following values are defined:

ICDECOMPRESS_HURRYUP

Tries to decompress at a faster rate. When an application uses this flag, the driver should buffer the decompressed data but not draw the image.

ICDECOMPRESS_UPDATE

Indicates the screen is being updated or refreshed.

ICDECOMPRESS_PREROLL

Indicates the current frame precedes the point in the movie where playback starts and, therefore, will not be drawn.

ICDECOMPRESS_NULLFRAME

Indicates the current frame does not contain data and the decompressed image should be left the same.

ICDECOMPRESS_NOTKEYFRAME

Indicates the current frame is not a key frame.


lpbiSrc

Address of a BITMAPINFOHEADER structure containing the input format.

lpSrc

Address of a data buffer containing the input data.

lpbiDst

Address of a BITMAPINFOHEADER structure containing the output format.

lpDst

Address of a data buffer where the driver should write the decompressed image.

xDst, yDst

X- and Y-coordinates of the destination rectangle within the DIB specified by lpbiDst.

dxDst, dyDst

Width and height of the destination rectangle.

xSrc, ySrc

X- and Y- coordinates of the source rectangle within the DIB specified by lpbiSrc.

dxSrc, dySrc

Width and height of the source rectangle.