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);
Returns ICERR_OK if successful or an error otherwise.
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Compression Manager Overview, Video Compression Messages, ICSETSTATUSPROC