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:
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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Import Library: User-defined.

See Also

Video Compression Manager Overview, Video Compression Functions, ICM_SET_STATUS_PROC, ICSetStatusProc