IPortableDeviceManager interface
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.
Members
The IPortableDeviceManager interface inherits from the IUnknown interface. IPortableDeviceManager also has these types of members:
Methods
The IPortableDeviceManager interface has these methods.
| Method | Description |
|---|---|
| GetDeviceDescription |
Retrieves the description of a device. |
| GetDeviceFriendlyName |
Retrieves the user-friendly name for the device. |
| GetDeviceManufacturer |
Retrieves the name of the device manufacturer. |
| GetDeviceProperty |
Retrieves a property value stored by the device on the computer. |
| GetDevices |
Retrieves a list of portable devices connected to the computer. |
| GetPrivateDevices |
Retrieves a list of private portable devices connected to the computer. |
| RefreshDeviceList |
Refreshes the list of portable devices that are connected to the computer. |
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also