BeginFile Event

Fired before a file is processed.

Syntax

ANSI (Cross Platform)
virtual int FireBeginFile(Bzip2BeginFileEventParams *e);
typedef struct {
int Index;
int Skip; int reserved; } Bzip2BeginFileEventParams; Unicode (Windows) virtual INT FireBeginFile(Bzip2BeginFileEventParams *e);
typedef struct {
INT Index;
BOOL Skip; INT reserved; } Bzip2BeginFileEventParams;
- (void)onBeginFile:(int)index :(int*)skip;
#define EID_BZIP2_BEGINFILE 1

virtual INT IPWORKSZIP_CALL FireBeginFile(INT &iIndex, BOOL &bSkip);

Remarks

BeginFile is fired before compression or decompression begins. Index will contain 0.

You may use the Skip parameter to tell the class to skip the file when appending or decompressing.

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