Windows Media Format SDK banner art
PreviousNext

IMDSPEnumDevice Interface

The IMDSPEnumDevice interface is used to enumerate the media devices. For more information on enumeration, see the Microsoft COM documentation, available at http://www.microsoft.com/com/. Devices may or may not be currently attached to the computer but are enumerated by this interface if the supporting software for the device has been configured into the system. Methods in the device-level interface(s) exist to determine the actual status (attached or not) of devices.

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.

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

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.