IWMPEvents2::DeviceConnect method
The DeviceConnect event occurs when the user connects a device to the computer.
Syntax
void DeviceConnect(
IWMPSyncDevice *pDevice
);
Parameters
pDevice
Address of the IWMPSyncDevice interface that represents the device that the user connected.
Return value
This method does not return a value.
Remarks
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
| Minimum supported client | Windows Media Player 10 or later. |
| Target Platform | Windows |
| Header | wmp.h |
| DLL | Wmp.dll |