Skip to content

OnCreatePreallocFileCompleted

event

Delphi
property OnCreatePreallocFileCompleted: TOnCreatePreallocatedFileCompleted read FOnCreatePreallocFileCompleted write FOnCreatePreallocFileCompleted;
C++Builder
__property TOnCreatePreallocatedFileCompleted OnCreatePreallocFileCompleted = {read=FOnCreatePreallocFileCompleted, write=FOnCreatePreallocFileCompleted};
typedef void __fastcall (__closure *TOnCreatePreallocatedFileCompleted)(System::TObject* Sender, System::UnicodeString FileName, bool Success);
C#
public event OnCreatePreallocFileCompletedEventHandler OnCreatePreallocFileCompleted;
public delegate void OnCreatePreallocFileCompletedEventHandler(object sender, TOnCreatePreallocatedFileCompletedEventArgs e);
VB.NET
Public Event OnCreatePreallocFileCompleted As OnCreatePreallocFileCompletedEventHandler
Public Delegate Sub OnCreatePreallocFileCompletedEventHandler(sender As Object, e As TOnCreatePreallocatedFileCompletedEventArgs)
C++/Qt
void SetOnCreatePreallocFileCompleted (TOnCreatePreallocFileCompletedCb OnCreatePreallocFileCompletedCb);
typedef void CALLBACK TOnCreatePreallocFileCompletedCb (void *Object, void *Sender, wchar_t *FileName, BOOL Success);

This TOnCreatePreallocatedFileCompleted event is used when PreallocCapFileEnabled is true (a preallocated huge capture file is used for recording).

Occurs when the preallocated recording has been fully created.