Decompressing a Single File
An application can decompress a single compressed file by performing the following tasks.
-
Open the source file by calling the LZOpenFile function.
-
Open the destination file by calling LZOpenFile.
-
Copy the source file to the destination file by calling the LZCopy function and passing the handles returned by LZOpenFile.
-
Close the files by calling the LZClose function.