Windows Media Format SDK banner art
PreviousNext

IMDSPDevice Interface

The IMDSPDevice interface provides an instance-based association with a media device. From IMDSPDevice, you can enumerate the storage media on the device and manage the control functions of the device.

In addition to the methods inherited from IUnknown, the IMDSPDevice interface exposes the following methods.

Method Description
GetDeviceIcon Returns an HICON value that represents the icon that the device service provider indicates must be used to represent this device.
GetFormatSupport Enumerates the formats supported by the device.
EnumStorage Enumerates the storage media on the device.
GetManufacturer Retrieves the name of the manufacturer of the device.
GetName Retrieves the name of the device.
GetPowerSource Reports whether the device is capable of running on batteries, external power, or both, and on which type of power source it is currently running.
GetSerialNumber Retrieves the serial number that uniquely identifies the device.
GetStatus Retrieves the device status information.
GetType Retrieves device type information.
GetVersion Retrieves the version number of the device.
SendOpaqueCommand Sends a command to a device through Windows Media Device Manager. Windows Media Device Manager transmits the command without acting on it.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.