StartMemPack starts packing into memory. This function is only needed if you want to create archives in combination with TAR, e.g. TAR.BZ2. It allows Totalcmd to create a TAR.Plugin file in a single step.
int __stdcall StartMemPack (int Options, char *FileName);
StartMemPack should return a user-defined handle (e.g. pointer to a structure) on success, zero otherwise.
- FileName refers to the name of the file being packed - some packers store the name in the local header.
- Options can contain a combination of the following values:
|MEM_OPTIONS_WANTHEADERS||1||The output stream should include the complete headers (beginning+end)|