Compartir a través de


FilgraphManager.RegFilterCollection

 
Microsoft DirectShow 9.0

FilgraphManager.RegFilterCollection

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

The RegFilterCollection property retrieves a collection of all the filters listed in the registry.

Syntax

  objGraph
  .RegFilterCollection

Parameters

This property takes no parameters.

Return Values

Returns an IAMCollection object that contains IRegFilterInfo objects.

Remarks

Retrieving this property is equivalent to calling the C++ IFilterMapper2::EnumMatchingFilters method with the value zero for every parameter.

This property is read-only.

Example Code

Dim objRegFilter As IRegFilterInfo
Dim objFilter As IFilterInfo
For Each objRegFilter In mGraph.RegFilterCollection
    If objRegFilter.Name = "My Filter" Then
        ' Create the filter.
        objRegFilter.Filter objFilter 
        Exit For
    End If
Next

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also