WriterGet Method (IMFWriter)
Returns target path of encoding and full encoding's configuration
Syntax
Sub WriterGet( _
   ByRef _pbsTargetPath As String, _
   ByRef _pbsOptionsList As String _
) 
void WriterGet( 
   out string _pbsTargetPath,
   out string _pbsOptionsList
)
procedure WriterGet( 
   Out  _pbsTargetPath: String;
   Out  _pbsOptionsList: String
); 
void WriterGet( 
   [PARAMFLAG::Out] BSTR* _pbsTargetPath,
   [PARAMFLAG::Out] BSTR* _pbsOptionsList
) 

Parameters

_pbsTargetPath
_pbsOptionsList
Example

Here is example of how to set an audio codec and get a full configuration for encoding:

IMFProps props;
m_objWriter.WriterOptionSetByIndex(eMFWriterOption.eMFWO_AudioCodec, 2, out props); // to set 3rd available audio codec
string tPath, options;
m_objWriter.WriterGet(out tPath, out options);
See Also

Reference

IMFWriter Interface
IMFWriter Members