IBaseFilter::EnumPins method (strmif.h)

The EnumPins method enumerates the pins on this filter.

Syntax

HRESULT EnumPins(
  [out] IEnumPins **ppEnum
);

Parameters

[out] ppEnum

Address of a variable that receives a pointer to the IEnumPins interface.

Return value

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success
E_OUTOFMEMORY
Insufficient memory
E_POINTER
NULL pointer argument

Remarks

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.

Requirements

   
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)
Library Strmiids.lib

See also

Error and Success Codes

IBaseFilter Interface