Microsoft DirectX 9.0 |
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
See Also