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



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


MFWriterClass Class
MFWriterClass Members