Share via


IWMPEvents Interface (Windows Embedded CE 6.0)

1/6/2010

The IWMPEvents interface provides events that originate from the Windows Media Player control. An embedding program can respond to these events. The events exposed by IWMPEvents are also exposed by the _WMPOCXEvents interface.

In addition to the methods inherited from IUnknown, the IWMPEvents interface exposes the following methods.

Method Description

IWMPEvents::AudioLanguageChange

Occurs when the current audio language changes.

IWMPEvents::Buffering

Occurs when the Windows Media Player control begins or ends buffering.

IWMPEvents::Click

Occurs when the user clicks a mouse button.

IWMPEvents::CurrentItemChange

Occurs when the currentItem property of the IWMPControls interface changes value.

IWMPEvents::CurrentPlaylistChange

Occurs when something changes within the current playlist.

IWMPEvents::Disconnect

Reserved for future use.

IWMPEvents::DoubleClick

Occurs when the user double-clicks a mouse button.

IWMPEvents::EndOfStream

Reserved for future use.

IWMPEvents::Error

Occurs when the Windows Media Player control has an error condition.

IWMPEvents::KeyDown

Occurs when a key is pressed.

IWMPEvents::KeyPress

Occurs when a key is pressed and then released.

IWMPEvents::KeyUp

Occurs when a key is released.

IWMPEvents::MarkerHit

Occurs when a marker is reached.

IWMPEvents::MouseDown

Occurs when a mouse button is pressed.

IWMPEvents::MouseMove

Occurs when the mouse pointer is moved.

IWMPEvents::MouseUp

Occurs when a mouse button is released.

IWMPEvents::NewStream

Reserved for future use.

IWMPEvents::OpenStateChange

Occurs when the Windows Media Player control changes state.

IWMPEvents::PlayStateChange

Occurs when the play state of the Windows Media Player control changes.

IWMPEvents::PositionChange

Occurs when the current position of the media has been changed.

IWMPEvents::StatusChange

Occurs when the status property changes value.

See Also

Reference

Windows Media Player OCX Control 7.0 Supported Interfaces