LZClose

  VOID LZClose(hFile)    
  INT hFile; /* handle identifying file to be closed */

The LZClose function closes a file which was opened using the LZOpenFile or OpenFile functions.

Parameters

hFile

Identifies the source file.

Return Value

TRUE if the handle was successfully closed, FALSE for any error. Extended error status is available using the GetLastError function.

Comments

If the file was compressed with the COMPRESS.EXE utility and opened using LZOpenFile, LZClose frees any global heap space which was required to expand the file.

See Also

LZOpenFile