Partager via


CBaseFilter::EnumPins (Windows CE 5.0)

Send Feedback

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

HRESULT EnumPins(IEnumPins** ppEnum);

Parameters

  • ppEnum
    Pointer to the IEnumPins interface to retrieve.

Return Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 3.0 and later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.