typedef enum _ltmmPlay_Notify
{
ltmmPlay_Notify_StateChanged,
ltmmPlay_Notify_Error,
ltmmPlay_Notify_TrackingPositionChanged,
ltmmPlay_Notify_TrackingSelectionChanged
ltmmPlay_Notify_MediaEvent
} ltmmPlay_Notify;
The ltmmPlay_Notify constants define the WPARAM parameter used in notification messages.
Constant |
Description |
ltmmPlay_Notify_StateChanged |
[0] Indicates that the play object’s state has changed. The high order 32 bits of LPARAM contain the previous state. The low order 32 bits of LPARAM contain the current state. |
ltmmPlay_Notify_Error |
[1] Indicates a playback error has occurred. The message LPARAM value contains the HRESULT error code. |
ltmmPlay_Notify_TrackingPositionChanged |
[2] Indicates that the current tracking position has changed. The LPARAM value contains the new tracking position. |
ltnmmPlay_Notify_TrackingSelectionChanged |
[3] Indicates that the current tracking selection has changed. The high order 32 bits of LPARAM contain the previous ending position. The low order 32 bits of LPARAM contain the starting position. |
ltmmPlay_Notify_MediaEvent |
[4] Indicates an event related to the current media and the operations performed on it. The LPARAM message value is a pointer to an ltmmMediaEvent structure. For a list of all possible values of the event code and parameters, refer to the ltmmMediaEventCode Constants. Most of these events are DVD-specific, but Windows Media Script notifications and graph-building notifications for MPEG-2 Transport files can also be handled with this event. See ltmmMediaEventCode Constants for more information. |
See Also
Processing Script Commands During Windows Media Video Playback
Programming with the MPEG-2 Transport Demultiplexer