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
Devpkey.h;
Portabledeviceconnectapi.h
IDL
Portabledeviceconnectapi.idl
Library
PortableDeviceGuids.lib