IBaseFilter::EnumPins method (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.]
EnumPins method enumerates the pins on this filter.
HRESULT EnumPins( [out] IEnumPins **ppEnum );
Address of a variable that receives a pointer to the IEnumPins interface.
Returns an HRESULT value. Possible values include the following.
||NULL pointer argument|
This method returns an enumerator that supports the IEnumPins interface, which works like a standard COM enumerator. For more information, see Enumerating Pins.
If the method succeeds, the IEnumPins interface has an outstanding reference count. Be sure to release the interface when you are done.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||strmif.h (include Dshow.h)|