The LZDone function is obsolete. It is provided only for compatibility with 16-bit versions of Windows. Win32-based applications should use the LZOpenFile function.
Data Decompression Library Overview, Data Decompression Library Functions