Compartir a través de


IMediaDet::get_Filter

 
Microsoft DirectShow 9.0

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. Release the interface when you are finished using it.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also