ICSetStatusProc

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

DWORD ICSetStatusProc(
  HIC hic,                         
  DWORD dwFlags,                   
  LONG lParam,                     
  LONG (CALLBACK * ()) fpfnStatus  
);
 

Parameters

hic
Handle of the compressor.
dwFlags
Applicable flags. Set to zero.
lParam
Constant specified with the status callback address.
fpfnStatus
Address of the status callback function. Specify NULL to indicate no status callbacks should be sent.

Return Values

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