Microsoft DirectX 8.1 (C++)

IMediaControl::get_FilterCollection

The get_FilterCollection method retrieves a collection of the filters in the filter graph. This method is intended for use by Visual Basic applications. C++ applications should use the IFilterGraph::EnumFilters method.

Syntax

HRESULT get_FilterCollection(
  IDispatch **ppUnk
);

Parameters

ppUnk

[out, retval] Address of a pointer that will receive the IAMCollection interface on a collection of IFilterInfo objects.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory

Remarks

This method is primarily for use by Automation clients because it returns an IDispatch interface pointer.

See Also