22HZIP
CreateZip(
const TCHAR *fn,
const char *password);
23HZIP
CreateZip(
void *buf,
unsigned int len,
const char *password);
57ZRESULT ZipAdd(HZIP hz,
const TCHAR *dstzn,
void *src,
unsigned int len);
92#define ZR_OK 0x00000000
93#define ZR_RECENT 0x00000001
95#define ZR_GENMASK 0x0000FF00
96#define ZR_NODUPH 0x00000100
97#define ZR_NOFILE 0x00000200
98#define ZR_NOALLOC 0x00000300
99#define ZR_WRITE 0x00000400
100#define ZR_NOTFOUND 0x00000500
101#define ZR_MORE 0x00000600
102#define ZR_CORRUPT 0x00000700
103#define ZR_READ 0x00000800
105#define ZR_CALLERMASK 0x00FF0000
106#define ZR_ARGS 0x00010000
107#define ZR_NOTMMAP 0x00020000
108#define ZR_MEMSIZE 0x00030000
109#define ZR_FAILED 0x00040000
110#define ZR_ENDED 0x00050000
111#define ZR_MISSIZE 0x00060000
112#define ZR_PARTIALUNZ 0x00070000
113#define ZR_ZMODE 0x00080000
115#define ZR_BUGMASK 0xFF000000
116#define ZR_NOTINITED 0x01000000
117#define ZR_SEEK 0x02000000
118#define ZR_NOCHANGE 0x04000000
119#define ZR_FLATE 0x05000000
195#define CloseZip(hz) (IsZipHandleZ(hz)?CloseZipZ(hz):CloseZipU(hz))
197#define CloseZip CloseZipZ
198#define FormatZipMessage FormatZipMessageZ
ZRESULT ZipAddHandle(HZIP hz, const TCHAR *dstzn, HANDLE h)
unsigned int FormatZipMessageZ(ZRESULT code, char *buf, unsigned int len)
HZIP CreateZipHandle(HANDLE h, const char *password)
ZRESULT ZipGetMemory(HZIP hz, void **buf, unsigned long *len)
ZRESULT ZipAddFolder(HZIP hz, const TCHAR *dstzn)
ZRESULT CloseZipZ(HZIP hz)
ZRESULT ZipAdd(HZIP hz, const TCHAR *dstzn, const TCHAR *fn)
HZIP CreateZip(const TCHAR *fn, const char *password)
bool IsZipHandleZ(HZIP hz)