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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for