Microsoft DirectX 8.1 (C++)

IMediaControl::get_RegFilterCollection

The get_RegFilterCollection method retrieves a collection of all the filters listed in the registry. This method is intended for use by Visual Basic applications. C++ applications should use the IFilterMapper2::EnumMatchingFilters method.

Syntax

HRESULT get_RegFilterCollection(
  IDispatch **ppUnk
);

Parameters

ppUnk

[out, retval] Address of a pointer that will receive the IDispatch interface of the IAMCollection object.

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