OnCreatePreallocFileStarted
event
Delphi
property OnCreatePreallocFileStarted: TOnFileNotification read FOnCreatePreallocFileStarted write FOnCreatePreallocFileStarted;
C++Builder
__property TOnFileNotification OnCreatePreallocFileStarted = {read=FOnCreatePreallocFileStarted, write=FOnCreatePreallocFileStarted};
typedef void __fastcall (__closure *TOnFileNotification)(System::TObject* Sender, System::UnicodeString FileName);
C#
public event OnCreatePreallocFileStartedEventHandler OnCreatePreallocFileStarted;
public delegate void OnCreatePreallocFileStartedEventHandler(object sender, TOnFileNotificationEventArgs e);
VB.NET
Public Event OnCreatePreallocFileStarted As OnCreatePreallocFileStartedEventHandler
Public Delegate Sub OnCreatePreallocFileStartedEventHandler(sender As Object, e As TOnFileNotificationEventArgs)
C++/Qt
void SetOnCreatePreallocFileStarted (TOnCreatePreallocFileStartedCb OnCreatePreallocFileStartedCb);
typedef void CALLBACK TOnCreatePreallocFileStartedCb (void *Object, void *Sender, wchar_t *FileName);
This TOnFileNotification event is used when PreallocCapFileEnabled is true (a preallocated huge capture file is used for recording). Occurs when the preallocated recording file begins to be created.