DoneMemPack: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
Line 12: Line 12:
# The user has aborted the packing operation.
# The user has aborted the packing operation.


* The plugin should free all data allocated when packing.
The plugin should free all data allocated when packing.

Revision as of 15:09, 18 April 2006

DoneMemPack ends packing into memory. This function is used together with StartMemPack and PackToMem.

 int __stdcall DoneMemPack (int hMemPack);

Description

Return value: DoneMemPack should return zero if successful, or one of the error codes otherwise.

  • hMemPack is the handle returned by StartMemPack.

It may be called in two different cases:

  1. The packing functions have completed successfully, or
  2. The user has aborted the packing operation.

The plugin should free all data allocated when packing.