OnCopyPreallocDataCompleted
Deprecated
Kept for backward compatibility only.
Delphi
property OnCopyPreallocDataCompleted: TOnSourceFileToDestFileCompleted read FOnCopyPreallocDataCompleted write FOnCopyPreallocDataCompleted;
C++Builder
__property TOnSourceFileToDestFileCompleted OnCopyPreallocDataCompleted = {read=FOnCopyPreallocDataCompleted, write=FOnCopyPreallocDataCompleted};
typedef void __fastcall (__closure *TOnSourceFileToDestFileCompleted)(System::TObject* Sender, System::UnicodeString SourceFile, System::UnicodeString DestFile, bool Success);
C#
public event OnCopyPreallocDataCompletedEventHandler OnCopyPreallocDataCompleted;
public delegate void OnCopyPreallocDataCompletedEventHandler(object sender, TOnSourceFileToDestFileCompletedEventArgs e);
VB.NET
Public Event OnCopyPreallocDataCompleted As OnCopyPreallocDataCompletedEventHandler
Public Delegate Sub OnCopyPreallocDataCompletedEventHandler(sender As Object, e As TOnSourceFileToDestFileCompletedEventArgs)
C++/Qt
void SetOnCopyPreallocDataCompleted (TOnCopyPreallocDataCompletedCb OnCopyPreallocDataCompletedCb);
typedef void CALLBACK TOnCopyPreallocDataCompletedCb (void *Object, void *Sender, wchar_t *SourceFile, wchar_t *DestFile, BOOL Success);
Occurs after the preallocated recording file has been fully copied.
Remarks
This TOnSourceFileToDestFileCompleted event is used when PreallocCapFileEnabled is true (a huge preallocated capture file is used for recording).
Occurs when the stream data has been fully copied from the pre-allocated AVI file to the final AVI file.
As a result, the new file can be much smaller than the preallocated file.