Go to the documentation of this file.
   30 HZIP 
OpenZip(
const TCHAR *fn, 
const char *password);
 
   31 HZIP 
OpenZip(
void *z,
unsigned int len, 
const char *password);
 
  103 #define ZR_OK         0x00000000     // nb. the pseudo-code zr-recent is never returned, 
  104 #define ZR_RECENT     0x00000001     // but can be passed to FormatZipMessage. 
  106 #define ZR_GENMASK    0x0000FF00 
  107 #define ZR_NODUPH     0x00000100     // couldn't duplicate the handle 
  108 #define ZR_NOFILE     0x00000200     // couldn't create/open the file 
  109 #define ZR_NOALLOC    0x00000300     // failed to allocate some resource 
  110 #define ZR_WRITE      0x00000400     // a general error writing to the file 
  111 #define ZR_NOTFOUND   0x00000500     // couldn't find that file in the zip 
  112 #define ZR_MORE       0x00000600     // there's still more data to be unzipped 
  113 #define ZR_CORRUPT    0x00000700     // the zipfile is corrupt or not a zipfile 
  114 #define ZR_READ       0x00000800     // a general error reading the file 
  115 #define ZR_PASSWORD   0x00001000     // we didn't get the right password to unzip the file 
  117 #define ZR_CALLERMASK 0x00FF0000 
  118 #define ZR_ARGS       0x00010000     // general mistake with the arguments 
  119 #define ZR_NOTMMAP    0x00020000     // tried to ZipGetMemory, but that only works on mmap zipfiles, which yours wasn't 
  120 #define ZR_MEMSIZE    0x00030000     // the memory size is too small 
  121 #define ZR_FAILED     0x00040000     // the thing was already failed when you called this function 
  122 #define ZR_ENDED      0x00050000     // the zip creation has already been closed 
  123 #define ZR_MISSIZE    0x00060000     // the indicated input file size turned out mistaken 
  124 #define ZR_PARTIALUNZ 0x00070000     // the file had already been partially unzipped 
  125 #define ZR_ZMODE      0x00080000     // tried to mix creating/opening a zip  
  127 #define ZR_BUGMASK    0xFF000000 
  128 #define ZR_NOTINITED  0x01000000     // initialisation didn't work 
  129 #define ZR_SEEK       0x02000000     // trying to seek in an unseekable file 
  130 #define ZR_NOCHANGE   0x04000000     // changed its mind on storage, but not allowed 
  131 #define ZR_FLATE      0x05000000     // an internal error in the de/inflation code 
  206 #define CloseZip(hz) (IsZipHandleU(hz)?CloseZipU(hz):CloseZipZ(hz)) 
  208 #define CloseZip CloseZipU 
  209 #define FormatZipMessage FormatZipMessageU