IEnumPortableDeviceConnectors interface
The IEnumPortableDeviceConnectors interface supports the enumeration of IPortableDeviceConnector interfaces, representing MTP/Bluetooth devices that were paired with the PC. Note that this will retrieve all previously-paired devices, including devices that are paired but disconnected. To determine if a device is still connected, query the DEVPKEY_MTPBTH_IsConnected property for that device.
Members
The IEnumPortableDeviceConnectors interface inherits from the IUnknown interface. IEnumPortableDeviceConnectors also has these types of members:
Methods
The IEnumPortableDeviceConnectors interface has these methods.
Method | Description |
---|---|
Clone | Creates a copy of the current IEnumPortableDeviceConnectors interface. |
Next | Retrieves the next one or more IPortableDeviceConnector objects in the enumeration sequence. |
Reset | Resets the enumeration sequence to the beginning. |
Skip | Skips the specified number of devices in the enumeration sequence. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
IDL |
|
Library |
|
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