'* '* Error Return Codes '* %LZERROR_BADINHANDLE = -1 '* invalid input handle %LZERROR_BADOUTHANDLE = -2 '* invalid output handle %LZERROR_BADVALUE = -7 '* corrupt compressed file format %LZERROR_GLOBALLOC = -5 '* out of space for output file %LZERROR_GLOBLOCK = -6 '* insufficient memory for LZFile struct %LZERROR_READ = -3 '* bad global handle %LZERROR_UNKNOWNALG = -8 '* input parameter out of acceptable range %LZERROR_WRITE = -4 '* compression algorithm not recognized DECLARE FUNCTION CopyLZFile LIB "LZ32.DLL" (BYVAL a AS LONG, BYVAL a AS LONG) AS LONG DECLARE FUNCTION GetExpandedName LIB "LZ32.DLL" (lpstr AS ASCIIZ, lpstr AS ASCIIZ) AS LONG DECLARE FUNCTION LZCopy LIB "LZ32.DLL" (BYVAL a AS LONG, BYVAL a AS LONG) AS LONG DECLARE FUNCTION LZInit LIB "LZ32.DLL" (BYVAL a AS LONG) AS LONG DECLARE FUNCTION LZOpenFile LIB "LZ32.DLL" (lpstr AS ASCIIZ, lpofstruct As OFSTRUCT, BYVAL a As Integer) AS LONG DECLARE FUNCTION LZRead LIB "LZ32.DLL" (BYVAL a AS LONG, lpstr AS ASCIIZ, BYVAL a AS LONG) AS LONG DECLARE FUNCTION LZSeek LIB "LZ32.DLL" (BYVAL a AS LONG, BYVAL long AS LONG, BYVAL a AS LONG) AS LONG DECLARE FUNCTION LZStart LIB "LZ32.DLL" () AS LONG DECLARE SUB LZClose LIB "LZ32.DLL" (BYVAL a AS LONG) DECLARE SUB LZDone LIB "LZ32.DLL" ()