Leaked source code of windows server 2003
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.

53 lines
1.0 KiB

  1. /*++
  2. Module Name:
  3. diamond.h
  4. Abstract:
  5. Diamond compression interface.
  6. This module contains functions to create a cabinet with
  7. files compressed using the mszip compression library.
  8. Author:
  9. Ovidiu Temereanca (ovidiut) 26-Oct-2000
  10. --*/
  11. HANDLE
  12. DiamondInitialize (
  13. IN PCTSTR TempDir
  14. );
  15. VOID
  16. DiamondTerminate (
  17. IN HANDLE Handle
  18. );
  19. HANDLE
  20. DiamondStartNewCabinet (
  21. IN PCTSTR CabinetFilePath
  22. );
  23. BOOL
  24. DiamondAddFileToCabinet (
  25. IN HANDLE CabinetContext,
  26. IN PCTSTR SourceFile,
  27. IN PCTSTR NameInCabinet
  28. );
  29. BOOL
  30. DiamondTerminateCabinet (
  31. IN HANDLE CabinetContext
  32. );
  33. BOOL
  34. MySetupIterateCabinet (
  35. IN PCTSTR CabinetFile, // name of the cabinet file
  36. IN DWORD Reserved, // this parameter is not used
  37. IN PSP_FILE_CALLBACK MsgHandler, // callback routine to use
  38. IN PVOID Context // callback routine context
  39. );