Compartilhar via


IEnumComponents Interface

 
Microsoft DirectShow 9.0

IEnumComponents Interface

The IEnumComponents interface provides a standard COM enumeration object for the components (substreams) in a given program stream. C++ applications should use this interface to enumerate components, rather than using the IComponents collection interface, which is intended for Automation clients.

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

Method Description
Clone Create a new copy of the entire collection.
Next Retrieves the next n elements in the collection.
Reset Reset the enumerator to the beginning of the collection.
Skip Skip the specified element in the collection without retrieving it.

See Also