Share via


IWMDeviceManager2 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 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