TOpenArchiveData: Difference between revisions
Jump to navigation
Jump to search
Francoisal (talk | contribs) No edit summary |
(Backlink) |
||
Line 31: | Line 31: | ||
If the file is opened with OpenMode==PK_OM_LIST, ProcessFile will never be called by Total Commander. | If the file is opened with OpenMode==PK_OM_LIST, ProcessFile will never be called by Total Commander. | ||
{{Backlink|Packer plugins developer guide|Packer plugins developer guide}} | |||
{{Back|OpenArchive|OpenArchive}} |
Latest revision as of 17:14, 18 April 2006
OpenArchiveData is used in OpenArchive.
typedef struct { char* ArcName; int OpenMode; int OpenResult; char* CmtBuf; int CmtBufSize; int CmtSize; int CmtState; } tOpenArchiveData;
Description
ArcName contains the name of the archive to open. OpenMode is set to one of the following values:
Constant | Value | Description |
---|---|---|
PK_OM_LIST | 0 | Open file for reading of file names only |
PK_OM_EXTRACT | 1 | Open file for processing (extract or test) |
OpenResult used to return one of the error values if an error occurs.
The Cmt* variables are for the file comment. They are currently not used by Total Commander, so may be set to NULL.
Note:
If the file is opened with OpenMode==PK_OM_LIST, ProcessFile will never be called by Total Commander.
Back to Packer plugins developer guide
Back to OpenArchive