ICM_SET_STATUS_PROC

The ICM_SET_STATUS_PROC message provides a status callback function with the status of a lengthy operation.

ICM_SET_STATUS_PROC 
wParam = (DWORD) (LPVOID) icsetstatusProc; 
lParam = sizeof(icsetstatusProc); 
 

Parameters

icsetstatusProc
Address of an ICSETSTATUSPROC structure.
lParam
Size, in bytes, of ICSETSTATUSPROC.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

Support of this message is optional but strongly recommended if compression or decompression takes longer than approximately one-tenth of a second.

An application can send this message periodically to a status callback function during lengthy operations.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Compression Manager Overview, Video Compression Messages, ICSETSTATUSPROC