30HZIP
OpenZip(
const TCHAR *fn,
const char *password);
31HZIP
OpenZip(
void *z,
unsigned int len,
const char *password);
103#define ZR_OK 0x00000000
104#define ZR_RECENT 0x00000001
106#define ZR_GENMASK 0x0000FF00
107#define ZR_NODUPH 0x00000100
108#define ZR_NOFILE 0x00000200
109#define ZR_NOALLOC 0x00000300
110#define ZR_WRITE 0x00000400
111#define ZR_NOTFOUND 0x00000500
112#define ZR_MORE 0x00000600
113#define ZR_CORRUPT 0x00000700
114#define ZR_READ 0x00000800
115#define ZR_PASSWORD 0x00001000
117#define ZR_CALLERMASK 0x00FF0000
118#define ZR_ARGS 0x00010000
119#define ZR_NOTMMAP 0x00020000
120#define ZR_MEMSIZE 0x00030000
121#define ZR_FAILED 0x00040000
122#define ZR_ENDED 0x00050000
123#define ZR_MISSIZE 0x00060000
124#define ZR_PARTIALUNZ 0x00070000
125#define ZR_ZMODE 0x00080000
127#define ZR_BUGMASK 0xFF000000
128#define ZR_NOTINITED 0x01000000
129#define ZR_SEEK 0x02000000
130#define ZR_NOCHANGE 0x04000000
131#define ZR_FLATE 0x05000000
206#define CloseZip(hz) (IsZipHandleU(hz)?CloseZipU(hz):CloseZipZ(hz))
208#define CloseZip CloseZipU
209#define FormatZipMessage FormatZipMessageU
ZRESULT GetZipItem(HZIP hz, int index, ZIPENTRY *ze)
bool IsZipHandleU(HZIP hz)
ZRESULT FindZipItem(HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze)
ZRESULT SetUnzipBaseDir(HZIP hz, const TCHAR *dir)
ZRESULT CloseZipU(HZIP hz)
ZRESULT UnzipItem(HZIP hz, int index, const TCHAR *fn)
unsigned int FormatZipMessageU(ZRESULT code, TCHAR *buf, unsigned int len)
ZRESULT UnzipItemHandle(HZIP hz, int index, HANDLE h)
HZIP OpenZipHandle(HANDLE h, const char *password)
HZIP OpenZip(const TCHAR *fn, const char *password)