The TestingFile event is triggered once for each file that will be verified as a result of calling the TestZipFile method. This event is triggered when reading the zip file to process. Only when all the zip file is read does the verification begins. You then receive a SkippingFile or Warning event for each inconsistency found in the zip file. If you do not get any of these events, then the zip file is valid.
None of the parameters provided by the TestingFile event are modifiable.
Declaration | |
---|---|
|
Declaration (DLL API) | |
---|---|
xcdTestingFileParams * pParams = ( xcdTestingFileParams * ) lParams; |
Parameter | Description |
---|---|
sFilename | The path and filename of the file being verified, 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 representingthe 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. |
nCompressionRatio | The compression ratio achieved for this file. |
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? |
lDiskNumber | When dealing with spanned zip files, the disk this file is located on. |