ICDecompressExQuery function (vfw.h)

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

Syntax

LRESULT VFWAPI_INLINE 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 to the decompressor to use.

dwFlags

Reserved; do not use.

lpbiSrc

Pointer to a BITMAPINFOHEADER structure containing the format of the compressed data to decompress.

lpSrc

Reserved; must be NULL.

xSrc

The x-coordinate of the source rectangle for the DIB specified by lpbiSrc.

ySrc

The y-coordinate of the source rectangle for the DIB specified by lpbiSrc.

dxSrc

Width of the source rectangle.

dySrc

Height of the source rectangle.

lpbiDst

Pointer to 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

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

xDst

The x-coordinate of the destination rectangle for the DIB specified by lpbiDst.

yDst

The y-coordinate of the destination rectangle for the DIB specified by lpbiDst.

dxDst

Width of the destination rectangle.

dyDst

Height of the destination rectangle.

Return value

Returns ICERR_OK if successful or an error otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

Video Compression Functions

Video Compression Manager