LZStart

  int LZStart(void)    

The LZStart function allocates the buffers that the CopyLZFile function uses to copy a source file to a destination file.

Note:

The buffers allocated are global to the calling process.

Parameters

This function has no parameters.

Return Value

This function returns TRUE if it was successful; otherwise it returns LZERROR_GLOBALLOC.

Comments

Applications which copy (or copy and expand) consecutive multiple files should call LZStart, CopyLZFile, and LZDone. Applications which copy a single file should call LZCopy.

See Also

CopyLZFile LZDone LZCopy