Click or drag to resize

CrestronZIPResultCode Enumeration

These are the result codes of a zip/unzip operation.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public enum ResultCode
Members
Member nameValueDescription
ZR_OK0Everything went OK.
ZR_RECENT1 nb. the pseudo-code zr-recent is never returned, but can be passed to FormatZipMessage.
ZR_NODUPH256couldn't duplicate the handle
ZR_NOFILE512couldn't create/open the file or folder
ZR_NOALLOC768failed to allocate some resource
ZR_WRITE1,024a general error writing to the file
ZR_NOTFOUND1,280couldn't find that file in the zip
ZR_MORE1,536there's still more data to be unzipped
ZR_CORRUPT1,792the zipfile is corrupt or not a zipfile
ZR_READ2,048a general error reading the file
ZR_PASSWORD4,096we didn't get the right password to unzip the file
ZR_GENMASK65,280The following come from general system stuff (e.g. files not openable)
ZR_ARGS65,536general mistake with the arguments
ZR_NOTMMAP131,072tried to ZipGetMemory, but that only works on mmap zipfiles, which yours wasn't
ZR_MEMSIZE196,608the memory size is too small
ZR_FAILED262,144the thing was already failed when you called this function
ZR_ENDED327,680the zip creation has already been closed
ZR_MISSIZE393,216the indicated input file size turned out mistaken
ZR_PARTIALUNZ458,752the file had already been partially unzipped
ZR_ZMODE524,288tried to mix creating/opening a zip
ZR_CALLERMASK16,711,680The following come from mistakes on the part of the caller
ZR_NOTINITED16,777,216initialization didn't work
ZR_SEEK33,554,432trying to seek in an unseekable file
ZR_NOCHANGE67,108,864changed its mind on storage, but not allowed
ZR_FLATE83,886,080an internal error in the de/inflation code
ZR_BUGMASK4,278,190,080The 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