IWMDMEnumDevice interface (mswmdm.h)

The IWMDMEnumDevice interface enumerates portable devices attached to a computer. To obtain this interface, call IWMDeviceManager::EnumDevices.

Inheritance

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

Methods

The IWMDMEnumDevice interface has these methods.

 
IWMDMEnumDevice::Clone

The Clone method returns a copy of the IWMDMEnumDevice interface. The new enumerator specifies the same enumeration state as the current enumerator.
IWMDMEnumDevice::Next

The Next method returns a pointer to the next device, represented by an IWMDMDevice interface.
IWMDMEnumDevice::Reset

The Reset method resets the enumeration so that Next returns a pointer to the first device.
IWMDMEnumDevice::Skip

The Skip method skips over a specified number of devices in the enumeration sequence.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

Enumerating Devices

Interfaces for Applications