#include <CompressT.hpp>
Classes | |
| struct | kCurStatus |
| struct | kEncrypt |
Public Member Functions | |
| CCompressT () | |
| ~CCompressT () | |
| void | AbortOperation () |
| void | SetTempDirectory (char *s8_TempDir) |
| BOOL | SetEncryptionKey (char *s8_EncryptKey) |
| BOOL | CreateFCIContext (char *s8_File, ULONG u32_CabSplitSize=0x7FFFFFFF, USHORT u16_CabID=0) |
| BOOL | CreateFCIContext (char *s8_CabPath, char *s8_CabFileName, ULONG u32_CabSplitSize=0x7FFFFFFF, USHORT u16_CabID=0) |
| BOOL | DestroyFCIContext () |
| BOOL | AddFile (char *s8_FileToAdd, char *s8_NameInCab, void *pParam=0) |
| BOOL | AddFolder (char *s8_Folder, char *s8_Filter="*.*", void *pParam=0, int s32_BaseLen=-1) |
| BOOL | FlushCabinet (BOOL b_CreateNewCabinetFile, void *pParam=0) |
| BOOL | FlushFolder (void *pParam=0) |
| int | GetLastError (char **ps8_Description=0, int *pnExtra=0) |
Protected Types | |
| typedef void *typedef char char | BOOL |
| typedef void *typedef char char | PFNFCIGETNEXTCABINET |
| typedef void *typedef char char | PFNFCISTATUS |
| typedef void *typedef char char | PFNFCIGETOPENINFO |
| typedef void *typedef char char | TCOMP |
| typedef BOOL(__cdecl * | fFciFlushCabinet )(HFCI, BOOL, PFNFCIGETNEXTCABINET, PFNFCISTATUS) |
Protected Member Functions | |
| typedef | HFCI (__cdecl *fFciCreate)(PERF |
| typedef void *typedef | BOOL (__cdecl *fFciAddFile)(HFCI |
| typedef | BOOL (__cdecl *fFciFlushFolder)(HFCI |
| typedef | BOOL (__cdecl *fFciDestroy)(HFCI) |
| BOOL | SetCabParameters (CCAB *pk_CabParams, char *s8_CabPath, char *s8_CabFileName, USHORT u16_CabID, ULONG u32_CabSplitSize) |
| int | Open (char *pszFile, int oflag, int pmode, int *err, void *p_Param) |
| UINT | Read (int hf, void *memory, UINT cb, int *err, void *p_Param) |
| UINT | Write (int hf, void *memory, UINT cb, int *err, void *p_Param) |
| int | Close (int hf, int *err, void *p_Param) |
| int | Delete (char *pszFile, int *err, void *p_Param) |
| long | Seek (int hf, long dist, int seektype, int *err, void *p_Param) |
| void | EncryptDataBlock (void *p_Memory, UINT u32_Count, char *s8_Key, int s32_KeyLen, int s32_CabPtr, void *p_Param) |
| BOOL | GetTempFile (char *pszTempName, int cbBufSize, void *p_Param) |
| int | GetAttribsAndDate (char *pszName, USHORT *pdate, USHORT *ptime, USHORT *pattribs, int *err, void *p_Param) |
| int | OnFilePlaced (PCCAB pccab, char *pszFile, long cbFile, BOOL fContinuation, void *p_Param) |
| BOOL | OnGetNextCabinet (PCCAB pccab, ULONG cbPrevCab, void *p_Param) |
| long | OnUpdateStatus (UINT typeStatus, kCurStatus *pk_CurStatus, void *p_Param) |
Static Protected Member Functions | |
| static void * | Alloc (UINT size) |
| static void | Free (void *memblock) |
Protected Attributes | |
| kEncrypt | mk_Encrypt |
| kCurStatus | mk_CurStatus |
| HFCI | mh_FCIContext |
| ERF | mk_Error |
| void * | mp_Param |
| BOOL | mb_Abort |
| BOOL | mb_AutoFlush |
| CCAB | mk_CabParams |
| char | ms8_TempDir [MAX_PATH] |
| int | ms32_TempCounter |
| char | ms8_CabNameFormatter [256] |
| typedef | PFNFCIFILEPLACED |
| typedef | PFNFCIALLOC |
| typedef | PFNFCIFREE |
| typedef | PFNFCIOPEN |
| typedef | PFNFCIREAD |
| typedef | PFNFCIWRITE |
| typedef | PFNFCICLOSE |
| typedef | PFNFCISEEK |
| typedef | PFNFCIDELETE |
| typedef | PFNFCIGETTEMPFILE |
| typedef | PCCAB |
| typedef | PFNFCIGETNEXTCABINET |
| typedef | PFNFCISTATUS |
| HINSTANCE | mh_CabinetDll |
| fFciCreate | mf_FciCreate |
| fFciAddFile | mf_FciAddFile |
| fFciFlushFolder | mf_FciFlushFolder |
| fFciFlushCabinet | mf_FciFlushCabinet |
| fFciDestroy | mf_FciDestroy |
typedef void* typedef char char Cabinet::CCompressT< T >::BOOL [protected] |
typedef BOOL( __cdecl * Cabinet::CCompressT< T >::fFciFlushCabinet)(HFCI, BOOL, PFNFCIGETNEXTCABINET, PFNFCISTATUS) [protected] |
typedef void* typedef char char Cabinet::CCompressT< T >::PFNFCIGETNEXTCABINET [protected] |
typedef void* typedef char char Cabinet::CCompressT< T >::PFNFCIGETOPENINFO [protected] |
typedef void* typedef char char Cabinet::CCompressT< T >::PFNFCISTATUS [protected] |
typedef void* typedef char char Cabinet::CCompressT< T >::TCOMP [protected] |
| Cabinet::CCompressT< T >::CCompressT | ( | ) | [inline] |
| Cabinet::CCompressT< T >::~CCompressT | ( | ) | [inline] |
| void Cabinet::CCompressT< T >::AbortOperation | ( | ) | [inline] |
| BOOL Cabinet::CCompressT< T >::AddFile | ( | char * | s8_FileToAdd, | |
| char * | s8_NameInCab, | |||
| void * | pParam = 0 | |||
| ) | [inline] |
| BOOL Cabinet::CCompressT< T >::AddFolder | ( | char * | s8_Folder, | |
| char * | s8_Filter = "*.*", |
|||
| void * | pParam = 0, |
|||
| int | s32_BaseLen = -1 | |||
| ) | [inline] |
| static void* Cabinet::CCompressT< T >::Alloc | ( | UINT | size | ) | [inline, static, protected] |
| typedef Cabinet::CCompressT< T >::BOOL | ( | __cdecl * | fFciDestroy | ) | [protected] |
| typedef Cabinet::CCompressT< T >::BOOL | ( | __cdecl * | fFciFlushFolder | ) | [protected] |
| typedef void* typedef Cabinet::CCompressT< T >::BOOL | ( | __cdecl * | fFciAddFile | ) | [protected] |
| int Cabinet::CCompressT< T >::Close | ( | int | hf, | |
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| BOOL Cabinet::CCompressT< T >::CreateFCIContext | ( | char * | s8_CabPath, | |
| char * | s8_CabFileName, | |||
| ULONG | u32_CabSplitSize = 0x7FFFFFFF, |
|||
| USHORT | u16_CabID = 0 | |||
| ) | [inline] |
| BOOL Cabinet::CCompressT< T >::CreateFCIContext | ( | char * | s8_File, | |
| ULONG | u32_CabSplitSize = 0x7FFFFFFF, |
|||
| USHORT | u16_CabID = 0 | |||
| ) | [inline] |
| int Cabinet::CCompressT< T >::Delete | ( | char * | pszFile, | |
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| BOOL Cabinet::CCompressT< T >::DestroyFCIContext | ( | ) | [inline] |
| void Cabinet::CCompressT< T >::EncryptDataBlock | ( | void * | p_Memory, | |
| UINT | u32_Count, | |||
| char * | s8_Key, | |||
| int | s32_KeyLen, | |||
| int | s32_CabPtr, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| BOOL Cabinet::CCompressT< T >::FlushCabinet | ( | BOOL | b_CreateNewCabinetFile, | |
| void * | pParam = 0 | |||
| ) | [inline] |
| BOOL Cabinet::CCompressT< T >::FlushFolder | ( | void * | pParam = 0 |
) | [inline] |
| static void Cabinet::CCompressT< T >::Free | ( | void * | memblock | ) | [inline, static, protected] |
| int Cabinet::CCompressT< T >::GetAttribsAndDate | ( | char * | pszName, | |
| USHORT * | pdate, | |||
| USHORT * | ptime, | |||
| USHORT * | pattribs, | |||
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| int Cabinet::CCompressT< T >::GetLastError | ( | char ** | ps8_Description = 0, |
|
| int * | pnExtra = 0 | |||
| ) | [inline] |
| BOOL Cabinet::CCompressT< T >::GetTempFile | ( | char * | pszTempName, | |
| int | cbBufSize, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| typedef Cabinet::CCompressT< T >::HFCI | ( | __cdecl * | fFciCreate | ) | [protected] |
| int Cabinet::CCompressT< T >::OnFilePlaced | ( | PCCAB | pccab, | |
| char * | pszFile, | |||
| long | cbFile, | |||
| BOOL | fContinuation, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| BOOL Cabinet::CCompressT< T >::OnGetNextCabinet | ( | PCCAB | pccab, | |
| ULONG | cbPrevCab, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| long Cabinet::CCompressT< T >::OnUpdateStatus | ( | UINT | typeStatus, | |
| kCurStatus * | pk_CurStatus, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| int Cabinet::CCompressT< T >::Open | ( | char * | pszFile, | |
| int | oflag, | |||
| int | pmode, | |||
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| UINT Cabinet::CCompressT< T >::Read | ( | int | hf, | |
| void * | memory, | |||
| UINT | cb, | |||
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| long Cabinet::CCompressT< T >::Seek | ( | int | hf, | |
| long | dist, | |||
| int | seektype, | |||
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
| BOOL Cabinet::CCompressT< T >::SetCabParameters | ( | CCAB * | pk_CabParams, | |
| char * | s8_CabPath, | |||
| char * | s8_CabFileName, | |||
| USHORT | u16_CabID, | |||
| ULONG | u32_CabSplitSize | |||
| ) | [inline, protected] |
| BOOL Cabinet::CCompressT< T >::SetEncryptionKey | ( | char * | s8_EncryptKey | ) | [inline] |
| void Cabinet::CCompressT< T >::SetTempDirectory | ( | char * | s8_TempDir | ) | [inline] |
| UINT Cabinet::CCompressT< T >::Write | ( | int | hf, | |
| void * | memory, | |||
| UINT | cb, | |||
| int * | err, | |||
| void * | p_Param | |||
| ) | [inline, protected] |
BOOL Cabinet::CCompressT< T >::mb_Abort [protected] |
BOOL Cabinet::CCompressT< T >::mb_AutoFlush [protected] |
fFciAddFile Cabinet::CCompressT< T >::mf_FciAddFile [protected] |
fFciCreate Cabinet::CCompressT< T >::mf_FciCreate [protected] |
fFciDestroy Cabinet::CCompressT< T >::mf_FciDestroy [protected] |
fFciFlushCabinet Cabinet::CCompressT< T >::mf_FciFlushCabinet [protected] |
fFciFlushFolder Cabinet::CCompressT< T >::mf_FciFlushFolder [protected] |
HINSTANCE Cabinet::CCompressT< T >::mh_CabinetDll [protected] |
HFCI Cabinet::CCompressT< T >::mh_FCIContext [protected] |
CCAB Cabinet::CCompressT< T >::mk_CabParams [protected] |
kCurStatus Cabinet::CCompressT< T >::mk_CurStatus [protected] |
kEncrypt Cabinet::CCompressT< T >::mk_Encrypt [protected] |
ERF Cabinet::CCompressT< T >::mk_Error [protected] |
void* Cabinet::CCompressT< T >::mp_Param [protected] |
int Cabinet::CCompressT< T >::ms32_TempCounter [protected] |
char Cabinet::CCompressT< T >::ms8_CabNameFormatter[256] [protected] |
char Cabinet::CCompressT< T >::ms8_TempDir[MAX_PATH] [protected] |
typedef Cabinet::CCompressT< T >::PCCAB [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIALLOC [protected] |
typedef Cabinet::CCompressT< T >::PFNFCICLOSE [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIDELETE [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIFILEPLACED [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIFREE [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIGETNEXTCABINET [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIGETTEMPFILE [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIOPEN [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIREAD [protected] |
typedef Cabinet::CCompressT< T >::PFNFCISEEK [protected] |
typedef Cabinet::CCompressT< T >::PFNFCISTATUS [protected] |
typedef Cabinet::CCompressT< T >::PFNFCIWRITE [protected] |
1.5.8