IWMDMDevice Interface
The IWMDMDevice interface provides methods to examine and explore a single portable device. The interface can be used to get information about a device and enumerate its storages. IWMDMDevice2 extends the capabilities of this interface.
In addition to the methods inherited from IUnknown, the IWMDMDevice interface exposes the following methods.
Method | Description |
EnumStorage | Retrieves an IWMDMEnumStorage interface to enumerate the storages on a device. |
GetDeviceIcon | Retrieves a handle to the icon that the device manufacturer wants to display when the device is connected. |
GetFormatSupport | Retrieves all the formats supported by the device, including codecs and file formats. |
GetManufacturer | Retrieves the name of the manufacturer of the device. |
GetName | Retrieves the human-readable name of the device. |
GetPowerSource | Retrieves information about the power source and the percentage of power remaining for the device. |
GetSerialNumber | Retrieves a serial number that uniquely identifies the device. |
GetStatus | Retrieves device status information. |
GetType | Retrieves the operations supported by the device. |
GetVersion | Retrieves the manufacturer-defined version number of the device. |
SendOpaqueCommand | Sends a device-specific command to the device through Windows Media Device Manager. |
See Also