IWMDeviceManager2 interface (mswmdm.h)
The IWMDeviceManager2 interface extends IWMDeviceManager interface. It provides a way of enumerating devices that takes advantage of the Plug and Play (PnP) system that results in better performance and lower memory use. It also enables the application to query for a specific device based on the canonical name of the device.
Inheritance
The IWMDeviceManager2 interface inherits from IWMDeviceManager. IWMDeviceManager2 also has these types of members:
Methods
The IWMDeviceManager2 interface has these methods.
IWMDeviceManager2::EnumDevices2 The EnumDevices2 method retrieves an enumeration interface that is used to enumerate portable devices connected to the computer. |
IWMDeviceManager2::GetDeviceFromCanonicalName The GetDeviceFromCanonicalName method retrieves an IWMDMDevice interface for a device with a specified canonical name. You can retrieve a device's canonical name by calling IWMDMDevice2::GetCanonicalName. |
IWMDeviceManager2::Reinitialize The Reinitialize method forces Windows Media Device Manager to rediscover all the Windows Media Device Manager devices. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |