SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Progress Event

Reports the data encryption/decryption progress.

Syntax

ANSI (Cross Platform)
virtual int FireProgress(SymmetricCryptoProgressEventParams *e);
typedef struct {
int64 Total;
int64 Current;
int Cancel; int reserved; } SymmetricCryptoProgressEventParams; Unicode (Windows) virtual INT FireProgress(SymmetricCryptoProgressEventParams *e);
typedef struct {
LONG64 Total;
LONG64 Current;
BOOL Cancel; INT reserved; } SymmetricCryptoProgressEventParams;
- (void)onProgress:(long long)total :(long long)current :(int*)cancel;
#define EID_SYMMETRICCRYPTO_PROGRESS 3

virtual INT SECUREBLACKBOX_CALL FireProgress(LONG64 &lTotal, LONG64 &lCurrent, BOOL &bCancel);

Remarks

This event fires periodically during a file encrypt/decrypt operation to report its progress.

Use the Cancel parameter to terminate the encryption/decryption if needed.

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