CBaseFilter::EnumPins

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Retrieves an IEnumPins pointer that can be used to enumerate all the pins available on this filter.

Syntax

HRESULT EnumPins(
  IEnumPins** ppEnum
);

Parameters

  • ppEnum
    Pointer to the IEnumPins interface to retrieve.

Return Value

Returns E_OUTOFMEMORY if a new enumerate could not be created or NOERROR if successful.

Remarks

This member function implements the IBaseFilter::EnumPins method.

It uses the CEnumPins object to construct an enumerator and retrieves the IEnumPins interface from the CEnumPins object. The implementation of CEnumPins::Next calls the CBaseFilter::GetPin member function, which the derived class must provide.

The IEnumPins interface is used by the filter graph manager when adding the filter to the filter graph.

Requirements

Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment