SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Progress Event

Reports the progress of data compression.

Syntax

ANSI (Cross Platform)
virtual int FireProgress(ArchiveWriterProgressEventParams *e);
typedef struct {
int64 Processed;
int64 Total;
int64 OverallProcessed;
int64 OverallTotal;
int Cancel; int reserved; } ArchiveWriterProgressEventParams; Unicode (Windows) virtual INT FireProgress(ArchiveWriterProgressEventParams *e);
typedef struct {
LONG64 Processed;
LONG64 Total;
LONG64 OverallProcessed;
LONG64 OverallTotal;
BOOL Cancel; INT reserved; } ArchiveWriterProgressEventParams;
- (void)onProgress:(long long)processed :(long long)total :(long long)overallProcessed :(long long)overallTotal :(int*)cancel;
#define EID_ARCHIVEWRITER_PROGRESS 7

virtual INT SECUREBLACKBOX_CALL FireProgress(LONG64 &lProcessed, LONG64 &lTotal, LONG64 &lOverallProcessed, LONG64 &lOverallTotal, BOOL &bCancel);

Remarks

Subscribe to this event to be notified about compression progress.

Processed and Total report the progress of compression of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]