ltmmMediaEvent Structure

typedef struct ltmmMediaEvent
{
    long lEventCode;
    long lParam1;
    long lParam2;
} ltmmMediaEvent;

The ltmmMediaEvent structure is used to describe a media event.

The notification message sent by the Play, Capture, and Convert objects send a pointer to this structure in the message LPARAM.

Member

Description

lEventCode

Event notification code. For a list of possible values of the event code, refer to the ltmmMediaEventCode Constants.

lParam1

The event first long value. For specific meaning, refer to the ltmmMediaEventCode Constants.

lParam2

The event second long value. For specific meaning, refer to the ltmmMediaEventCode Constants.