Microsoft DirectX 8.1 (C++)

IMediaDet::get_Filter

The get_Filter method retrieves a pointer to the source filter currently used by the media detector.

Syntax

HRESULT get_Filter(
    IUnknown **ppVal
);

Parameters

ppVal

[out, retval] Address of a pointer to receive the filter's IUnknown interface. If no source filter is in use, the value is set to NULL.

Return Value

Returns an HRESULT value.

Remarks

When the method returns, if *ppVal is not NULL, the IUnknown interface has an outstanding reference count. Be sure to release the interface when you are finished using it.

See Also