lzexpand.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _LZEXPAND_
  7. #define _LZEXPAND_
  8. #include <_mingw_unicode.h>
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #define LZERROR_BADINHANDLE (-1)
  13. #define LZERROR_BADOUTHANDLE (-2)
  14. #define LZERROR_READ (-3)
  15. #define LZERROR_WRITE (-4)
  16. #define LZERROR_GLOBALLOC (-5)
  17. #define LZERROR_GLOBLOCK (-6)
  18. #define LZERROR_BADVALUE (-7)
  19. #define LZERROR_UNKNOWNALG (-8)
  20. #define GetExpandedName __MINGW_NAME_AW(GetExpandedName)
  21. #define LZOpenFile __MINGW_NAME_AW(LZOpenFile)
  22. INT WINAPI LZStart(VOID);
  23. VOID WINAPI LZDone(VOID);
  24. LONG WINAPI CopyLZFile(INT,INT);
  25. LONG WINAPI LZCopy(INT,INT);
  26. INT WINAPI LZInit(INT);
  27. INT WINAPI GetExpandedNameA(LPSTR,LPSTR);
  28. INT WINAPI GetExpandedNameW(LPWSTR,LPWSTR);
  29. INT WINAPI LZOpenFileA(LPSTR,LPOFSTRUCT,WORD);
  30. INT WINAPI LZOpenFileW(LPWSTR,LPOFSTRUCT,WORD);
  31. LONG WINAPI LZSeek(INT,LONG,INT);
  32. INT WINAPI LZRead(INT,LPSTR,INT);
  33. VOID WINAPI LZClose(INT);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif