Windows Media Player 11 SDK IWMPEvents2::DeviceDisconnect
Previous | Next |
IWMPEvents2::DeviceDisconnect
The DeviceDisconnect event occurs when the user disconnects a device from the computer.
Syntax
Parameters
pDevice
[in] Address of the IWMPSyncDevice interface that represents the device that the user disconnected.
Remarks
Use IWMPSyncDevice::isIdentical to determine whether a particular device matches the device that the user disconnected.
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 |