SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

AfterExtractFile Event

Marks the completion of extraction of an archived file.

Syntax

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

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

Remarks

Subscribe to this event to get notified about the completion of extraction of an archived file.

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

fdsFile (0)The data was saved to a file.
fdsStream (1)The data was saved into a stream assigned to FileStream property.
fdsBuffer (2)The file data is available in FileData buffer.

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