Microsoft DirectX 8.1 (C++) |
The get_Filter method retrieves the IBaseFilter interface of the filter.
Syntax
HRESULT get_Filter(
IUnknown **ppUnk
);
Parameters
ppUnk
[out, retval] Address of a pointer to the IBaseFilter interface of the filter represented by IFilterInfo::FindPin.
Return Value
Returns an HRESULT value.
Remarks
The object that implements IFilterInfo is a wrapper and is not the same COM object as the filter itself. Thus a call to IFilterInfo::QueryInterface for IBaseFilter will fail. The IFilterInfo::get_Filter method enables an application to obtain the filter object itself. This method is exposed for use by Automation clients and is not expected to be used by C or C++ applications because of performance limitations.
See Also