Progress Event

Fired as progress is made.

Syntax

ANSI (Cross Platform)
virtual int FireProgress(ZipSFXProgressEventParams *e);
typedef struct {
const char *Filename;
int64 BytesProcessed;
int PercentProcessed; int reserved; } ZipSFXProgressEventParams; Unicode (Windows) virtual INT FireProgress(ZipSFXProgressEventParams *e);
typedef struct {
LPCWSTR Filename;
LONG64 BytesProcessed;
INT PercentProcessed; INT reserved; } ZipSFXProgressEventParams;
- (void)onProgress:(NSString*)filename :(long long)bytesProcessed :(int)percentProcessed;
#define EID_ZIPSFX_PROGRESS 2

virtual INT IPWORKSZIP_CALL FireProgress(LPSTR &lpszFilename, LONG64 &lBytesProcessed, INT &iPercentProcessed);

Remarks

The Progress event is automatically fired as compression is performed.

Filename contains the name of the file being written.

BytesProcessed contains the total number of uncompressed bytes processed.

PercentProcessed contains the percent of uncompressed bytes processed, corresponding roughly to the running time of the operation.

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