IMDSPDevice2 interface (mswmdm.h)
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.
The IMDSPDevice2 interface inherits from IMDSPDevice. IMDSPDevice2 also has these types of members:
The IMDSPDevice2 interface has these methods.
The GetCanonicalPName method gets the canonical name of a device.
The GetFormatSupport2 method gets the formats supported by a device, including audio and video codecs, and MIME file formats.
The GetSpecifyPropertyPages method gets property pages describing non-standard capabilities of portable devices.
The GetStorage method makes it possible to go directly to a storage based on its name instead of enumerating through all storages to find it.