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

/*++
Module Name:
diamond.h
Abstract:
Diamond compression interface.
This module contains functions to create a cabinet with
files compressed using the mszip compression library.
Author:
Ovidiu Temereanca (ovidiut) 26-Oct-2000
--*/
HANDLE
DiamondInitialize (
IN PCTSTR TempDir
);
VOID
DiamondTerminate (
IN HANDLE Handle
);
HANDLE
DiamondStartNewCabinet (
IN PCTSTR CabinetFilePath
);
BOOL
DiamondAddFileToCabinet (
IN HANDLE CabinetContext,
IN PCTSTR SourceFile,
IN PCTSTR NameInCabinet
);
BOOL
DiamondTerminateCabinet (
IN HANDLE CabinetContext
);
BOOL
MySetupIterateCabinet (
IN PCTSTR CabinetFile, // name of the cabinet file
IN DWORD Reserved, // this parameter is not used
IN PSP_FILE_CALLBACK MsgHandler, // callback routine to use
IN PVOID Context // callback routine context
);