The PreviewingFile event is triggered once for each file that is being listed as a result of calling the PreviewFiles method.
The file information provided by the PreviewingFile event's parameters is not modifiable.
| Declaration | |
|---|---|
| |
| Declaration (DLL API) | |
|---|---|
xcdPreviewingFileParams * pParams = ( xcdPreviewingFileParams * ) lParam; | |
| Parameter | Description |
|---|---|
| sFilename | The path and filename of the file being listed, exactly as it would be stored in a zip file if the Zip method were to be executed instead of the PreviewFiles method. |
| sSourceFilename | The real path and filename of the file being listed. |
| lSize | The file's size in bytes. |
| lSizeLow lSizeHigh (64) |
The 32 low-order and high-order bits representing the file's original uncompressed size, in bytes. |
| xAttributes | The file's attributes. |
| dtLastModified | The last modification date and time stamp. |
| dtLastAccessed | The last accessed date and time stamp. |
| dtCreated | The creation date and time stamp. |
| bExcluded | Would this file be processed or excluded if the Zip method were to be called with the same property settings as when the PreviewFiles method was called? |
| xReason | If it will be excluded, why? |