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 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 Values

Returns ICERR_OK if successful or FALSE otherwise.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

Video Compression Manager, Video Compression Functions