共用方式為


IFilterGraph::EnumFilters

 
Microsoft DirectShow 9.0

IFilterGraph::EnumFilters

The EnumFilters method provides an enumerator for all filters in the graph.

Syntax

  HRESULT EnumFilters(
  IEnumFilters **ppEnum
);

Parameters

ppEnum

[out] Receives a pointer to the IEnumFilters interface. Use this interface to enumerate the filters. The caller must release the interface.

Return Values

Returns one of the following values.

Value Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory to create the enumerator.
E_POINTER Null pointer argument.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also