The ProcessCompleted event is triggered whenever an Xceed Zip method has completed its processing. This event provides statistics about the completed operation similar to those provided by the GlobalStatus event.
The parameters provided by the ProcessCompleted event are not modifiable.
Declaration | |
---|---|
|
Declaration (DLL API) | |
---|---|
xcdProcessCompletedParams * pParams = ( xcdProcessCompletedParams * ) lParam; |
Parameter | Description |
---|---|
lFilesTotal | The total number of files that were matched by the FilesToProcess property. For the ListZipContents and PreviewFiles methods, this is the only parameter among the first three listed here that has any meaning. |
lFilesProcessed | The number of files that were actually processed. Does not include files that were skipped for any reason. |
lFilesSkipped | The number of files that were skipped. Normally, lFilesProcessed + lFilesSkipped = lFilesTotal. |
lBytesTotal | The total number of bytes for all the files that were matched by the FilesToProcess property. |
lBytesTotalLow lBytesTotalHigh (64) |
The 32 low-order and high-order bits representing the total number of bytes for all the files that were matched by the FilesToProcess property. |
lBytesProcessed | The total number of bytes that were actually processed. |
lBytesProcessedLow lBytesProcessedHigh (64) |
The 32 low-order and high-order bits representingthe total number of bytes that were actually processed. |
lBytesSkipped | The total number of bytes that have not been processed due to files that have been skipped. Normally, lBytesProcessed + lBytesSkipped = lBytesTotal. |
lBytesSkippedLow lBytesSkippedHigh (64) |
The 32 low-order and high-order bits representing the total number of bytes that have not been processed due to files that have been skipped. |
lBytesOutput | When zipping, this represents the total number of bytes that have been written to the zip file. When unzipping, this represents the total number of bytes that have been outputted to the destination unzipping location. |
lBytesOutputLow lBytesOutputHigh (64) |
The 32 low-order and high-order bits representing, when zipping, the total number of bytes that have been written to the zip file. When unzipping, they represent the total number of bytes that have been outputted to the destination unzipping location. |
nCompressionRatio | When zipping, this is the compression ratio that has been achieved so far for the entire group of files being zipped. When unzipping, this is the compression ratio of the entire group of files being unzipped. |
xResult | The result code returned by the method. |
In your handler for the ProcessCompleted event, the CurrentOperation property allows you to find out which method just completed.
All methods except the AddFilesToProcess and AddFilesToExclude methods.