Partager via


IWMDeviceManager Interface

banner art

The IWMDeviceManager interface is the top level Windows Media Device Manager interface for applications. This is the first interface accessed by an application, and is used to acquire the IWMDMEnumDevice interface used to enumerate the connected devices. This interface is obtained by calling QueryInterface on the authenticated IComponentAuthenticate interface. If the device supports it, use IWMDeviceManager2 interface, which offers superior device enumeration capabilities.

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

Method Description
EnumDevices Retrieves a pointer to the IWMDMEnumDevice interface that can be used to enumerate portable devices connected to the computer.
GetDeviceCount Retrieves the number of portable devices that are currently connected to the computer.
GetRevision Retrieves the version number of Windows Media Device Manager currently in use.

See Also