Windows Media Player 11 SDK IWMPEvents2::DeviceStatusChange
Previous | Next |
IWMPEvents2::DeviceStatusChange
The DeviceStatusChange event occurs when the partnership status of a device changes.
Syntax
Parameters
pDevice
[in] Address of the IWMPSyncDevice interface that represents the device for which the status changed.
NewStatus
[in] WMPDeviceStatus enumeration value that represents the new status for the device specified by pDevice.
Remarks
Use IWMPSyncDevice::isIdentical to determine whether a particular device matches the device for which the status changed.
You can also handle this event through an IDispatch event sink by using the _WMPOCXEvents interface.
Windows Media Player 10 Mobile: This event is not supported.
Requirements
Version: Windows Media Player 10 or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
Previous | Next |