DoneMemPack

From TotalcmdWiki
Jump to: navigation, search

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.


Back to Packer plugins developer guide Back to Packer plugins developer guide overview Back to GetPackerCaps Back to PackToMem Back to StartMemPack