Partager via


IWMDeviceManager2 Interface

banner art

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.

In addition to the methods inherited from IWMDeviceManager, the IWMDeviceManager2 interface exposes the following methods.

Method Description
GetDeviceFromCanonicalName Retrieves an IWMDMDevice interface for a device with a specified canonical name.
EnumDevices2 Retrieves an enumeration interface that is used to enumerate portable devices connected to the computer.
Reinitialize Forces Windows Media Device Manager to rediscover all the Windows Media Device Manager devices

See Also