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.