Share via


IMDSPDevice2 Interface

banner art

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