Environment
Situation
Resolution
ZIP_IN_PROGRESS -101 //Tried to initialize library before it was shutdown
ZIP_NOT_INITIALIZED -102 //Tried to shutdown a non-initialized library
ZIP_BAD_COMP_LEVEL -103 //Tried to init with invalid compLevel
ZIP_BAD_INIT -104 //Initi attempt failed
ZIP_BAD_FINISH -105
ZIP_STREAM_ERROR -106 //zip library returned a Z_STREAM_ERROR
ZIP_NO_MEMORY -107 //Failed to allocate memory for buffers
ZIP_BAD_INPUT_READ -110 //Failed while reading from input file
ZIP_COMP_ERROR -111 //Error during compression
ZIP_DECOMP_ERROR -112 //Error during decompression
ZIP_ARCHIVE_READ_ERROR -120 //Error read from archive
ZIP_ARCHIVE_WRITE_ERROR -121 //Error writing to archive
ZIP_BAD_IMG_HEADER -122
ZIP_BAD_PART_HEADER -123
ZIP_BAD_FILE_HEADER -124
ZIP_BAD_FORK -125
ZIP_NOT_A_FILE_RECORD -131 //Data buffer provided is not an NTFS file record
ZIP_NTFS_COMPRESSED_FILE_EXTRACT_ERROR -132 //NTFS Compressed File cannot be extracted, hence error
ZIP_USER_ABORTED -140 //User aborted with cancel button