IPortableDeviceManager interface (portabledeviceapi.h)

Enumerates devices that are connected to the computer and provides a simple way to request installation information, including manufacturer, friendly name, and description. This is typically the first Windows Portable Devices interface created by an application. To create an instance of this interface, call CoCreateInstance and specify CLSID_PortableDeviceManager.

The properties that are requested using this interface can also be requested by using the IPortableDeviceProperties interface. However, that interface requires several steps to acquire; using this interface is a much simpler way to request device information.

Inheritance

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

Methods

The IPortableDeviceManager interface has these methods.

 
IPortableDeviceManager::GetDeviceDescription

Retrieves the description of a device.
IPortableDeviceManager::GetDeviceFriendlyName

Retrieves the user-friendly name for the device.
IPortableDeviceManager::GetDeviceManufacturer

Retrieves the name of the device manufacturer.
IPortableDeviceManager::GetDeviceProperty

Retrieves a property value stored by the device on the computer. (These are not standard properties that are defined by Windows Portable Devices.).
IPortableDeviceManager::GetDevices

Retrieves a list of portable devices connected to the computer.
IPortableDeviceManager::GetPrivateDevices

The GetPrivateDevices method retrieves a list of private portable devices connected to the computer. These private devices are only accessible through an application that is designed for these particular devices.
IPortableDeviceManager::RefreshDeviceList

The RefreshDeviceList method refreshes the list of devices that are connected to the computer.

Requirements

Requirement Value
Target Platform Windows
Header portabledeviceapi.h

See also

Client Interfaces