src/Foundation/Media/Gimela.Media.Video.DirectShow/Internals/ICaptureGraphBuilder2.cs
/// <summary>
/// Create file writing section of the filter graph.
/// </summary>
/// 
/// <param name="type">GUID that represents either the media subtype of the output or the
/// class identifier (CLSID) of a multiplexer filter or file writer filter.</param>
/// <param name="fileName">Output file name.</param>
/// <param name="baseFilter">Receives the multiplexer's <see cref="IBaseFilter"/> interface.</param>
/// <param name="fileSinkFilter">Receives the file writer's IFileSinkFilter interface. Can be NULL.</param>
/// 
/// <returns>Return's <b>HRESULT</b> error code.</returns>
/// 
Create file writing section of the filter graph.
Create file writing section of the filter graph .
[PreserveSig]
    int SetOutputFileName(
        [In, MarshalAs(UnmanagedType.LPStruct)] Guid type,
        [In, MarshalAs(UnmanagedType.LPWStr)] string fileName,
        [Out] out IBaseFilter baseFilter,
        [Out] out IntPtr fileSinkFilter
        );
[ PreserveSig ] int SetOutputFileName ( [ In , MarshalAs ( UnmanagedType . LPStruct ) ] Guid type , [ In , MarshalAs ( UnmanagedType . LPWStr ) ] string fileName , [ Out ] out IBaseFilter baseFilter , [ Out ] out IntPtr fileSinkFilter ) ;
Create file writing section of the filter graph.
Create file writing section of the filter graph .
None
Guid
[In, MarshalAs(UnmanagedType.LPStruct)]
string
[In, MarshalAs(UnmanagedType.LPWStr)]
out
[Out]
type
GUID that represents either the media subtype of the output or the
class identifier (CLSID) of a multiplexer filter or file writer filter.
GUID that represents either the media subtype of the output or the class identifier ( CLSID ) of a multiplexer filter or file writer filter .
fileName
Output file name.
Output file name .
baseFilter
Receives the multiplexer's  interface.
Receives the multiplexer ' s interface .
fileSinkFilter
Receives the file writer's IFileSinkFilter interface. Can be NULL.
Receives the file writer ' s IFileSinkFilter interface . Can be NULL .