Decompressing a Single File

An application can decompress a single compressed file by performing the following tasks.

  1. Open the source file by calling the LZOpenFile function.
  2. Open the destination file by calling LZOpenFile.
  3. Copy the source file to the destination file by calling the LZCopy function and passing the handles returned by LZOpenFile.
  4. Close the files by calling the LZClose function.