MyStatusProc

The MyStatusProc function describes an application-defined status callback function used by the ICM_SET_STATUS_PROC message and the ICSetStatusProc function.

LONG MyStatusProc(
  LPARAM lParam,  
  UINT Message    
);

Parameters

lParam

Constant specified with the status callback address.

Message

Status flag. It can be one of the following values.

Value Meaning
ICSTATUS_END A lengthy operation is finishing.
ICSTATUS_START A lengthy operation is starting.
ICSTATUS_STATUS Operation is proceeding, and is lParam percent done.
ICSTATUS_YIELD A lengthy operation is proceeding. This value has the same meaning as ICSTATUS_STATUS but does not indicate a value for percentage done.

Return Values

Returns zero if processing should continue or a nonzero value if it should end.

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 Mmsystem.h; include Windows.h.

See Also

Video Compression Manager, Video Compression Functions, ICM_SET_STATUS_PROC, ICSetStatusProc