IBaseFilter::EnumPins method

The EnumPins method enumerates the pins on this filter.

Syntax


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

Parameters

ppEnum [out]

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

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
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]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IBaseFilter Interface

 

 

Show: