IWMDeviceManager interface (mswmdm.h)

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.

Inheritance

The IWMDeviceManager interface inherits from the IUnknown interface. IWMDeviceManager also has these types of members:

Methods

The IWMDeviceManager interface has these methods.

 
IWMDeviceManager::EnumDevices

The EnumDevices method retrieves a pointer to the IWMDMEnumDevice interface that can be used to enumerate portable devices connected to the computer.
IWMDeviceManager::GetDeviceCount

The GetDeviceCount method retrieves the number of portable devices that are currently connected to the computer.
IWMDeviceManager::GetRevision

The GetRevision method retrieves the version number of Windows Media Device Manager currently in use.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

IWMDeviceManager2 Interface

Interfaces for Applications