src/Foundation/Media/Gimela.Media.Video.DirectShow/Internals/IGraphBuilder.cs
/// <summary>
/// Adds a source filter to the filter graph for a specific file.
/// </summary>
/// 
/// <param name="fileName">Specifies the name of the file to load.</param>
/// <param name="filterName">Specifies a name for the source filter.</param>
/// <param name="filter">Variable that receives the interface of the source filter.</param>
/// 
/// <returns>Return's <b>HRESULT</b> error code.</returns>
/// 
Adds a source filter to the filter graph for a specific file.
Adds a source filter to the filter graph for a specific file .
[PreserveSig]
    int AddSourceFilter(
        [In, MarshalAs(UnmanagedType.LPWStr)] string fileName,
        [In, MarshalAs(UnmanagedType.LPWStr)] string filterName,
        [Out] out IBaseFilter filter);
[ PreserveSig ] int AddSourceFilter ( [ In , MarshalAs ( UnmanagedType . LPWStr ) ] string fileName , [ In , MarshalAs ( UnmanagedType . LPWStr ) ] string filterName , [ Out ] out IBaseFilter filter ) ;
Adds a source filter to the filter graph for a specific file.
Adds a source filter to the filter graph for a specific file .
None
string
[In, MarshalAs(UnmanagedType.LPWStr)]
out
[Out]
fileName
Specifies the name of the file to load.
Specifies the name of the file to load .
filterName
Specifies a name for the source filter.
Specifies a name for the source filter .
filter
Variable that receives the interface of the source filter.
Variable that receives the interface of the source filter .