IMDSPEnumDevice interface (mswmdm.h)

The IMDSPEnumDevice interface is used to enumerate the media devices. For more information on enumeration, see the Microsoft COM documentation on the COM page at the Microsoft Web site. The IMDSPEnumDevice interface is implemented on the device enumerator object. The only valid way to create a device enumerator object is to call IMDServiceProvider::EnumDevices. If the device implements IMDServiceProvider2::CreateDevice, this enumerator should enumerate only non-Plug and Play devices. The device enumerator should enumerate only the devices that are attached to the computer and are supported by the service provider.

Inheritance

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

Methods

The IMDSPEnumDevice interface has these methods.

 
IMDSPEnumDevice::Clone

The Clone method creates another enumerator that contains the same enumeration state as the current one. (IMDSPEnumDevice.Clone)
IMDSPEnumDevice::Next

The Next method retrieves a pointer to the next celtIMDSPDevice interfaces.
IMDSPEnumDevice::Reset

The Reset method resets the enumeration sequence to the beginning. A subsequent call to Next fetches the first Windows Media Device Manager interface in the enumeration sequence.
IMDSPEnumDevice::Skip

The Skip method skips over the next specified number of media device interface(s) in the enumeration sequence.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

IMDSPDevice Interface

IMDServiceProvider::EnumDevices

Interfaces for Service Providers