Share via


IMDSPEnumDevice Interface

banner art

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.

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

Method Description
Clone Creates another enumerator that contains the same enumeration state as the current one.
Next Returns a pointer to the next IMDSPDevice interface.
Reset Resets the enumeration sequence to the beginning.
Skip Skips over the next specified number of media device interface(s) in the enumeration sequence.

See Also