ICSetStatusProc function (vfw.h)

The ICSetStatusProc function sends the address of a status callback function to a compressor. The compressor calls this function during lengthy operations.

Syntax

LRESULT VFWAPI_INLINE ICSetStatusProc(
  HIC                        hic,
  DWORD                      dwFlags,
  LRESULT                    lParam,
  LONG(* )(LPARAM,UINT,LONG) fpfnStatus
);

Parameters

hic

Handle to the compressor.

dwFlags

Applicable flags. Set to zero.

lParam

Constant specified with the status callback address.

fpfnStatus

Pointer to the status callback function. Specify NULL to indicate no status callbacks should be sent.

Return value

Returns ICERR_OK if successful or FALSE 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