Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

  1. // Copyright (c) Microsoft Corp. 1994-95
  2. /*==============================================================================
  3. Simple interface to file (de)compression.
  4. DATE NAME COMMENTS
  5. 07-Nov-94 RajeevD Created.
  6. ==============================================================================*/
  7. #ifndef _AWLZRD_
  8. #define _AWLZRD_
  9. #include <ifaxos.h>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. BOOL
  14. WINAPI
  15. ConvertFile
  16. (
  17. LPSTR lpszIn, // input filename, OLE stream, or IFAX file key
  18. LPSTR lpszOut, // output filename, must be created by caller
  19. UINT cbHeader, // header size to be copied w/o compression
  20. UINT nCompress, // conversion type {AW_COMPRESS, AW_DECOMPRESS}
  21. UINT vCompress // compress level, must be 1
  22. );
  23. // conversion types
  24. #define AW_COMPRESS 0
  25. #define AW_DECOMPRESS 1
  26. BOOL
  27. WINAPI
  28. LZDecode
  29. (
  30. LPVOID lpContext,
  31. LPBUFFER lpbufPrev, // previous output buffer
  32. LPBUFFER lpbufCurr, // current output buffer
  33. LPBUFFER lpbufLZ // LZ input buffer
  34. );
  35. BOOL
  36. WINAPI
  37. LZEncode
  38. (
  39. LPVOID lpContext,
  40. LPBUFFER lpbufPrev, // previous input buffer
  41. LPBUFFER lpbufCurr, // current input buffer
  42. LPBUFFER lpbufLZ // LZ output buffer
  43. );
  44. #ifdef __cplusplus
  45. } // extern "C"
  46. #endif
  47. #endif // _AWLZRD_