CrestronZIPResultCode Enumeration |
These are the result codes of a zip/unzip operation.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
Members| Member name | Value | Description |
|---|
| ZR_OK | 0 | Everything went OK. |
| ZR_RECENT | 1 |
nb. the pseudo-code zr-recent is never returned,
but can be passed to FormatZipMessage.
|
| ZR_NODUPH | 256 | couldn't duplicate the handle |
| ZR_NOFILE | 512 | couldn't create/open the file or folder |
| ZR_NOALLOC | 768 | failed to allocate some resource |
| ZR_WRITE | 1,024 | a general error writing to the file |
| ZR_NOTFOUND | 1,280 | couldn't find that file in the zip |
| ZR_MORE | 1,536 | there's still more data to be unzipped |
| ZR_CORRUPT | 1,792 | the zipfile is corrupt or not a zipfile |
| ZR_READ | 2,048 | a general error reading the file |
| ZR_PASSWORD | 4,096 | we didn't get the right password to unzip the file |
| ZR_GENMASK | 65,280 | The following come from general system stuff (e.g. files not openable) |
| ZR_ARGS | 65,536 | general mistake with the arguments |
| ZR_NOTMMAP | 131,072 | tried to ZipGetMemory, but that only works on mmap zipfiles, which yours wasn't |
| ZR_MEMSIZE | 196,608 | the memory size is too small |
| ZR_FAILED | 262,144 | the thing was already failed when you called this function |
| ZR_ENDED | 327,680 | the zip creation has already been closed |
| ZR_MISSIZE | 393,216 | the indicated input file size turned out mistaken |
| ZR_PARTIALUNZ | 458,752 | the file had already been partially unzipped |
| ZR_ZMODE | 524,288 | tried to mix creating/opening a zip |
| ZR_CALLERMASK | 16,711,680 | The following come from mistakes on the part of the caller |
| ZR_NOTINITED | 16,777,216 | initialization didn't work |
| ZR_SEEK | 33,554,432 | trying to seek in an unseekable file |
| ZR_NOCHANGE | 67,108,864 | changed its mind on storage, but not allowed |
| ZR_FLATE | 83,886,080 | an internal error in the de/inflation code |
| ZR_BUGMASK | 4,278,190,080 | The following come from bugs within the zip library itself |
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also