SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

AfterCompressFile Event

Marks the completion of compression of a file.

Syntax

ANSI (Cross Platform)
virtual int FireAfterCompressFile(ArchiveWriterAfterCompressFileEventParams *e);
typedef struct {
const char *Path;
int64 FileSize;
int DataSource; int reserved; } ArchiveWriterAfterCompressFileEventParams; Unicode (Windows) virtual INT FireAfterCompressFile(ArchiveWriterAfterCompressFileEventParams *e);
typedef struct {
LPCWSTR Path;
LONG64 FileSize;
INT DataSource; INT reserved; } ArchiveWriterAfterCompressFileEventParams;
- (void)onAfterCompressFile:(NSString*)path :(long long)fileSize :(int)dataSource;
#define EID_ARCHIVEWRITER_AFTERCOMPRESSFILE 1

virtual INT SECUREBLACKBOXLITE_CALL FireAfterCompressFile(LPSTR &lpszPath, LONG64 &lFileSize, INT &iDataSource);

Remarks

Subscribe to this event to get notified about the completion of compression of a file.

The Path parameter specifies the internal path to the entry inside the archive. The FileSize indicates the size of the file before compression, and the DataSource specifies the type of the source media.

fdsFile (0)The data was taken from a file.
fdsStream (1)The data was taken from a stream assigned to FileStream property.
fdsBuffer (2)The file data taken from the FileData buffer.

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