ICDecompressExQuery  J_LVU1 

The ICDecompressExQuery function determines if a decompressor can decompress data with a specific format.

DWORD ICDecompressExQuery(

    HIC hic,

 

    DWORD dwFlags,

 

    LPBITMAPINFOHEADER lpbiSrc,

 

    LPVOID lpSrc,

 

    int xSrc,

 

    int ySrc,

 

    int dxSrc,

 

    int dySrc,

 

    LPBITMAPINFOHEADER lpbiDst,

 

    LPVOID lpDst,

 

    int xDst,

 

    int yDst,

 

    int dxDst,

 

    int dyDst

 

   );

 

 

Parameters

hic

Handle of the decompressor to use.

dwFlags

Reserved; do not use.

lpbiSrc

Address of a BITMAPINFOHEADER05ZA4G structure containing the format of the compressed data to decompress.

lpSrc

Reserved; must be NULL.

xSrc, ySrc

The x- and y-coordinates of the source rectangle for the DIB specified by lpbiSrc.

dxSrc, dySrc

Width and height of the source rectangle.

lpbiDst

Address of a BITMAPINFOHEADER structure containing the output format. If the value of this parameter is NULL, the function determines whether the input format is supported and this parameter is ignored.

lpDst

Address of a buffer that is large enough to contain the decompressed data.

xDst, yDst

The x- and y-coordinates of the destination rectangle for the DIB specified by lpbiDst.

dxDst, dyDst

Width and height of the destination rectangle.

 

Return Values

Returns ICERR_OK if successful or an error otherwise.

See Also

BITMAPINFOHEADER