The ICDECOMPRESSEX structure contains decompression parameters used with the ICM_DECOMPRESSEX message
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;
Members
dwFlags
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_NOTKEYFRAME
Current frame is not a key frame.
ICDECOMPRESS_NULLFRAME
Current frame does not contain data and the decompressed image should be left the same.
ICDECOMPRESS_PREROLL
Current frame precedes the point in the movie where playback starts and, therefore, will not be drawn.
ICDECOMPRESS_UPDATE
Screen is being updated or refreshed.
lpbiSrc
Address of a BITMAPINFOHEADER structure containing the input format.
lpSrc
Address of a buffer containing the input data.
lpbiDst
Address of a BITMAPINFOHEADER structure containing the output format.
lpDst
Address of a buffer where the driver should write the decompressed image.
xDst, yDst
The 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
The x- and y-coordinates of the source rectangle within the DIB specified by lpbiSrc.
dxSrc, dySrc
Width and height of the source rectangle.
QuickInfo
Windows NT: Requires version 3.1 or later. Windows: Requires Windows 95 or later. Windows CE: Unsupported. Header: Declared in vfw.h. Import Library: Use vfw32.lib.