Windows Media Player 11 SDK IWMPEvents2 Interface
Previous | Next |
IWMPEvents2 Interface
The IWMPEvents2 interface provides events originating from the Windows Media Player 10 or later control to which an embedding program can respond. The events exposed by IWMPEvents2 are also exposed by the _WMPOCXEvents interface.
The events provided by IWMPEvents2 are related to device synchronization. To receive these events you must create a remoted instance of the Windows Media Player 10 or later control.
In addition to the methods inherited from IWMPEvents, the IWMPEvents2 interface exposes the following methods.
Method | Description |
CreatePartnershipComplete | Occurs when an asynchronous call to IWMPSyncDevice::createPartnership completes. |
DeviceConnect | Occurs when the user connects a device to the computer. |
DeviceDisconnect | Occurs when the user disconnects a device from the computer. |
DeviceStatusChange | Occurs when the partnership status of a device changes. |
DeviceSyncError | Occurs when a synchronization error happens. |
DeviceSyncStateChange | Occurs when the synchronization state of a device changes. |
See Also
- _WMPOCXEvents Interface
- Handling Events in C++
- Interfaces
- IWMPEvents Interface
- IWMPSyncDevice::createPartnership
- Remoting the Windows Media Player Control
Previous | Next |