共用方式為


IFilterInfo.Filter

 
Microsoft DirectShow 9.0

IFilterInfo.Filter

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The Filter property retrieves the filter associated with this object.

Syntax

  objFilterInfo
  .Filter As Unknown

Parameters

This property takes no parameters.

Return Values

Returns the filter.

Remarks

The IFilterInfo object is a wrapper for a DirectShow filter, because DirectShow filters expose the IBaseFilter interface, which is not Automation-compatible. This property returns the underlying filter as an IUnknown pointer. There are no methods in the Quartz.dll type library that can take this object as a parameter. It is provided for use with DLLs that take an IBaseFilter parameter. Also, it might be useful if you write your own Automation-compliant COM wrapper object for DirectShow.

This property is read-only.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also