IEnumPins interface (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Enumerates pins on a filter.

The IBaseFilter::EnumPins method returns this interface. It is based on the standard Component Object Model (COM) enumerators.

The filter graph manager uses this interface when it connects filters. Applications can use it to retrieve pins on a filter. For more information, see Enumerating Objects in a Filter Graph.

If the number of pins on the filter changes, some methods on this interface return VFW_E_ENUM_OUT_OF_SYNC. Call the IEnumPins::Reset method to resynchronize the enumerator.

Inheritance

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

Methods

The IEnumPins interface has these methods.

 
IEnumPins::Clone

The Clone method makes a copy of the enumerator with the same enumeration state.
IEnumPins::Next

The Next method retrieves a specified number of pins in the enumeration sequence.
IEnumPins::Reset

The Reset method resets the enumeration sequence to the beginning. (IEnumPins.Reset)
IEnumPins::Skip

The Skip method skips over a specified number of pins.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)