The data decompression functions let applications decompress files that were compressed by Microsoft File Compression Utility (COMPRESS.EXE). You can use these functions and utility to minimize the number of disks required to distribute and install your application.
Following are the new data decompression functions:
Function | Description |
CopyLZFile | Copies a source file to a destination file, expanding it if the file was compressed. |
GetExpandedName | Retrieves the original name of a compressed file. |
LZClose | Closes a file that was opened by using the LZOpenFile function or the OpenFile function. |
LZCopy | Copies a source file to a destination file, expanding it if the file was compressed (intended for single-file copy operations). |
LZDone | Frees memory allocated by the LZStart function. |
LZInit | Retrieves a file handle for a compressed file. |
LZOpenFile | Opens a file. |
LZRead | Reads from a compressed file. |
LZSeek | Positions the file pointer within a compressed file. |
LZStart | Allocates memory for multiple-file copy operations. |
The data decompression feature depends on the dynamic-link library LZEXPAND.DLL. This is a redistributable library.