|Top Previous Next|
The function gets called to create an archive or to add files and folders to it.
Full path to updated or new archive (0-terminated string).
Subfolder inside archive (0-terminated string). If archiving is happening in the archive root, the parameter is NULL.
Example: if SubPath contains "subdirectoryA1\subdirectoryA2", and AddList contains "subdirB1\subdirB2\file", the file will be saved inside the archive in subfolder: " subdirectoryA1\subdirectoryA2\subdirB1\subdirB2\file" .
Contains the source folder of all archived files, listed in AddList. Path specified in SrcPath gets added to the path of all files in AddList. Can be NULL.
List of all archived files and folders. Each file is a 0-terminated string with the file path. Files follow each other. The last file is appended with additional 0-character. i.e. the list is concluded with two 0 unicode characters.
Bit combination of following flags:
The total size of archived files. Plugin must use the parameter, e.g. in cases it doesn't support archiving of very large files. It can show warnings calling ArcShowDialogProcW or return error code E_EX_FILE_TOO_BIG.
If Size is less than 0, Size contains minimal common size of files. Probably the size is larger (not all files have been scanned).
Session identifier. This value should be passed to ProcessDataW.
Feedback function. Informs about execution percentage and allows terminate processing.
Reserved. Must be 0.
If success returns 0, otherwise – error code.