ICDecompressExQuery

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 BITMAPINFOHEADER 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.

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.

See Also

Video Compression Manager Overview, Video Compression Functions, BITMAPINFOHEADER