Share via


IMDSPDevice2 Interface (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

The IMDSPDevice2 interface extends IMDSPDevice by getting extended formats, getting Plug and Play (PnP) device names, enabling the use of property pages, and making it possible to get a pointer to a storage medium from its name.

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

Method Description
GetCanonicalName Gets the name of a Plug and Play device. This method can return E_NOTIMPL.
GetFormatSupport2 Gets the formats supported by a device, including audio and video formats, codecs, and MIME file formats.
GetSpecifyPropertyPages Gets property pages of the portable device.
GetStorage Returns a storage object from a storage name.

See Also