DeleteFiles: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
Line 5: Line 5:
== Description ==
== Description ==


DeleteFiles should return zero on success, or one of the [[error values]] otherwise.
DeleteFiles should return zero on success, or one of the [[Packer plugins developper errors|error values]] otherwise.
* ''PackedFile'' contains full path and name of the the archive.
* ''PackedFile'' contains full path and name of the the archive.
* ''DeleteList'' contains the list of files that should be deleted from the archive. The format of this string is the same as ''AddList'' within [[PackFiles]].
* ''DeleteList'' contains the list of files that should be deleted from the archive. The format of this string is the same as ''AddList'' within [[PackFiles]].

Revision as of 15:23, 18 April 2006

DeleteFiles should delete the specified files from the archive

 int __stdcall DeleteFiles (char *PackedFile, char *DeleteList);

Description

DeleteFiles should return zero on success, or one of the error values otherwise.

  • PackedFile contains full path and name of the the archive.
  • DeleteList contains the list of files that should be deleted from the archive. The format of this string is the same as AddList within PackFiles.