IWMDMDevice interface (mswmdm.h)

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.

Inheritance

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

Methods

The IWMDMDevice interface has these methods.

 
IWMDMDevice::EnumStorage

The EnumStorage method retrieves an IWMDMEnumStorage interface to enumerate the storages on a device.
IWMDMDevice::GetDeviceIcon

The GetDeviceIcon method retrieves a handle to the icon that the device manufacturer wants to display when the device is connected.
IWMDMDevice::GetFormatSupport

The GetFormatSupport method retrieves all the formats supported by the device, including codecs and file formats.
IWMDMDevice::GetManufacturer

The GetManufacturer method retrieves the name of the manufacturer of the device. (IWMDMDevice.GetManufacturer)
IWMDMDevice::GetName

The GetName method retrieves the human-readable name of the media device.
IWMDMDevice::GetPowerSource

The GetPowerSource method retrieves information about the power source and the percentage of power remaining for the device.
IWMDMDevice::GetSerialNumber

The GetSerialNumber method retrieves a serial number that uniquely identifies the device.
IWMDMDevice::GetStatus

The GetStatus method retrieves device status information.
IWMDMDevice::GetType

The GetType method retrieves the operations supported by the device.
IWMDMDevice::GetVersion

The GetVersion method retrieves the manufacturer-defined version number of the device.
IWMDMDevice::SendOpaqueCommand

The SendOpaqueCommand method sends a device-specific command to the device through Windows Media Device Manager. Windows Media Device Manager does not attempt to read the command.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

IWMDMDevice2 Interface

IWMDMDevice3 Interface

Interfaces for Applications