#include <ziparchive.h>
| class CZipArchive : public CBase |
| Public Member Enumerations | |
|---|---|
| enum | anonymous { KZipArchiveError, KCentralDirectoryTrailerNotFound, KCentralDirectoryTrailerInvalid, KCompressionMethodNotSupported, ..., KZipArchiveMinError } |
| enum | TCompressionMethod { EStored, EShrunk, EReducedCFOne, EReducedCFTwo, ..., EPKWAREImploded } |
This class represents a zip archive
| Enumerator | Value | Description |
|---|---|---|
| KZipArchiveError | -256 | |
| KCentralDirectoryTrailerNotFound | KZipArchiveError - 1 | |
| KCentralDirectoryTrailerInvalid | KZipArchiveError - 3 | |
| KCompressionMethodNotSupported | KZipArchiveError - 4 | |
| KLocalHeaderSignatureInvalid | KZipArchiveError - 5 | |
| KMultiDiskArchivesNotSupported | KZipArchiveError - 6 | |
| KMemberNotFound | KZipArchiveError - 7 | |
| KZipArchiveMinError | KZipArchiveError - 8 |
| Enumerator | Value | Description |
|---|---|---|
| KCentralDirectorySignature | 0x06054b50 | |
| KCentralDirectoryHeaderSignature | 0x02014b50 | |
| KLocalHeaderSignature | 0x04034b50 |
| Enumerator | Value | Description |
|---|---|---|
| KCentralDirectoryTrailerFixedLength | 22 | |
| KLocalHeaderFixedLength | 30 | |
| KCentralDirectoryHeaderFixedLength | 46 | |
| KSignatureLength | 4 | |
| KMaxTrailerSearchLength | 65536 |
| Enumerator | Value | Description |
|---|---|---|
| KCentralFileHeaderFileNameLengthOffset | 28 | |
| KCentralFileHeaderExtraFieldLengthOffset | 30 | |
| KCentralFileHeaderFileNameOffset | 46 |
| Enumerator | Value | Description |
|---|---|---|
| EStored | 0 | |
| EShrunk | 1 | |
| EReducedCFOne | 2 | |
| EReducedCFTwo | 3 | |
| EReducedCFThree | 4 | |
| EReducedCFFour | 5 | |
| EImploded | 6 | |
| EReservedOne | 7 | |
| EDeflated | 8 | |
| EReservedTwo | 9 | |
| EPKWAREImploded | 10 |