FilgraphManager.AddSourceFilter
Microsoft DirectShow 9.0 |
FilgraphManager.AddSourceFilter
- Note This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.
The AddSourceFilter method adds a source filter to the filter graph, for a specified file.
Syntax
objGraph .AddSourceFilter( strFileName As String, ByRef objFilterInfo As IFilterInfo)
Parameters
strFileName
Specifies the name of the file to load.
objFilterInfo
Variable that receives an IFilterInfo object representing the source filter.
Return Values
This method does not return a value.
Example Code
Dim objFilter As IFilterInfo mGraph.AddSourceFilter "C:\MyVideo.avi", objFilter
Requirements
Reference: Add a reference to ActiveMovie control type library.
Library: Quartz.dll.
See Also