IPortableDeviceConnector interface (portabledeviceconnectapi.h)

The IPortableDeviceConnector interface defines methods used for connection-management and property-retrieval for a paired MTP/Bluetooth device.

Inheritance

The IPortableDeviceConnector interface inherits from the IUnknown interface. IPortableDeviceConnector also has these types of members:

Methods

The IPortableDeviceConnector interface has these methods.

 
IPortableDeviceConnector::Cancel

Cancels a pending request to connect or disconnect an MTP/Bluetooth device.
IPortableDeviceConnector::Connect

Sends an asynchronous connection request to the MTP/Bluetooth device.
IPortableDeviceConnector::Disconnect

Sends an asynchronous disconnect request to the MTP/Bluetooth device.
IPortableDeviceConnector::GetPnPID

Retrieves the connector's Plug and Play (PnP) device identifier.
IPortableDeviceConnector::GetProperty

Retrieves a property for the given MTP/Bluetooth Bus Enumerator device.
IPortableDeviceConnector::SetProperty

Sets the given property on the MTP/Bluetooth Bus Enumerator device.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header portabledeviceconnectapi.h