Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Retrieves an IEnumPinspointer that can be used to enumerate all the pins available on this filter.
HRESULT EnumPins( IEnumPins ** ppEnum );
Parameters
Return Values
Returns E_OUTOFMEMORY if a new enumerate could not be created or NOERROR if successful.
Remarks
This member function implements the IBaseFilter::EnumPinsmethod. It uses the CEnumPinsobject to construct an enumerator and retrieves the IEnumPinsinterface from the CEnumPinsobject. The implementation of CEnumPins::Nextcalls the CBaseFilter::GetPinmember function, which the derived class must provide. The IEnumPinsinterface is used by the filter graph manager when adding the filter to the filter graph.