Skip to content

Encoder_NewOutputFile

function

Delphi
function Encoder_NewOutputFile (EncoderUniqueID: LongInt; OutputFile: string; OpenPaused: Boolean): Boolean;
C++Builder
bool __fastcall Encoder_NewOutputFile(System::LongInt EncoderUniqueID, System::UnicodeString OutputFile, bool OpenPaused);
C#
public bool Encoder_NewOutputFile(int EncoderUniqueID, string OutputFile, bool OpenPaused);
VB.NET
Public Function Encoder_NewOutputFile(EncoderUniqueID As Integer, OutputFile As String, OpenPaused As Boolean) As Boolean
C++/Qt
BOOL Encoder_NewOutputFile (int EncoderUniqueID, wchar_t *OutputFile, BOOL OpenPaused);

Closes the file currently being written and starts recording to the new file name specified.

If OpenPaused is true, the file will not be written until Encoder_Resume is invoked.