9.4 Decompressing Multiple Files

An application can decompress multiple files by performing the following tasks:

1.Open the source file by calling the LZOpenFile function or a combination of the OpenFile and LZInit functions.

2.Open the destination file by calling the LZOpenFile or OpenFile function.

3.Allocate memory for the copy operation by calling the LZStart function.

4.Copy the source files to the destination files by calling the CopyLZFile function.

5.Release the allocated memory by calling the LZDone function.

6.Close the files by calling the LZClose function.