Xceed Zip Compression Library Documentation
RemovingFile event
Xceed Zip control reference > Xceed Zip control events > RemovingFile event

Description

The RemovingFile event is triggered once for each file that is about to be deleted from the zip file as a result of executing the RemoveFiles method. The RemovingFile event occurs just before the file is deleted.

None of the parameters provided by the RemovingFile event are modifiable.

Declaration  

Event RemovingFile(sFilename As String, sComment As String, lSize As Long, lCompressedSize As Long, xAttributes As xcdFileAttributes,
lCRC As Long, dtLastModified As Date, dtLastAccessed As Date, dtCreated As Date, xMethod As xcdCompressionMethod,
bEncrypted As Boolean)

 

Event RemovingFile64(sFilename As String, sComment As String, lSizeLow As Long, lSizeHigh As Long, lCompressedSizeLow As Long,
lCompressedSizeHigh As Long, xAttributes As xcdFileAttributes, lCRC As Long, dtLastModified As Date,
dtLastAccessed As Date, dtCreated As Date, xMethod As xcdCompressionMethod, bEncrypted As Boolean)

Declaration (DLL API)  
xcdRemovingFileParams * pParams = ( xcdRemovingFileParams * ) lParam;

Parameters

Parameter Description
sFilename  The path and filename of the file being deleted, exactly as it is stored in the zip file.
sComment  The file's comment.
lSize  The file's original uncompressed size, in bytes.
lSizeLow
lSizeHigh (64)
The 32 low-order and high-order bits representing the file's original uncompressed size, in bytes.
lCompressedSize  The file's compressed size, in bytes.
lCompressedSizeLow
lCompressedSizeHigh (64)
The 32 low-order and high-order bits representing the file's compressed size, in bytes.
xAttributes  The file's attributes.
lCRC  The file's uncompressed data CRC checksum.
dtLastModified  The last modification date and time stamp.
dtLastAccessed  The last accessed date and time stamp.
dtCreated  The creation date and time stamp.
xMethod  The compression method.
bEncrypted  Is this an encrypted file?

Applicable methods

RemoveFiles