Compartir a través de


MyStatusProc callback function

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

Syntax

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 value

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

See also

Video Compression Manager

Video Compression Functions