Platform SDK: Files and I/O

Data Decompression Library Functions

The following functions are used to decompress files.

Function Description
GetExpandedName Retrieves the original name of a compressed file.
LZClose Closes a file that was opened by using LZOpenFile.
LZCopy Copies a source file to a destination file. If the source file is compressed with the Microsoft File Compression Utility (COMPRESS.EXE), this function creates a decompressed destination file.
LZInit Allocates memory for the internal data structures required to decompress files, and then creates and initializes them.
LZOpenFile Creates, opens, reopens, or deletes the specified file.
LZRead Reads (at most) the specified number of bytes from a file and copies them into a buffer.
LZSeek Moves a file pointer a number of bytes from a starting position.

Obsolete Functions

These functions are provided only for compatibility with 16-bit versions of Windows.

CopyLZFile
LZDone
LZStart