The ListingFile event is triggered once for each file in a zip file that is being listed as a result of calling the ListZipContents method.
The file information provided by the ListingFile event's parameters is not modifiable.
| Declaration (ActiveX) | |
|---|---|
| |
| Declaration (DLL API) | |
|---|---|
xcdListingFileParams * pParams = ( xcdListingFileParams * ) lParam; | |
| Parameter | Description |
|---|---|
| sFilename | The path and filename of the file being listed, 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. |
| 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. |
| bExcluded | Would this file be processed or excluded if the Unzip method were to be called with the same property settings as when the ListZipContents method was called? |
| xReason | If it will be excluded, why? |