ZlibWapi_ZipOpenNewFileInZip3

Description

Function ZlibWapi_ZipOpenNewFileInZip3% (
     zipHandle%,
     fileName$,
     fileInfo*%,
     extraFieldLocal*%,
     extraFieldLocalSize%,
     extraFieldGlobal*%,
     extraFieldGlobalSize%,
     comment$,
     method%,
     level%,
     raw%,
     windowBits%,
     memLevel%,
     strategy%,
     password$,
     crcForCrypting%
)

Extended function to create a new file entry in a ZIP file.

Parameters

zipHandle

Handle to a ZIP file opened with ZipOpen.

fileName

The file name of the entry to create.

fileInfo*

extraFieldLocal*

extraFieldLocalSize

Size of the extraFieldLocal bank.

extraFieldGlobal*

extraFieldGlobalSize

The size of the extraFieldGlobal bank.

comment

An optional comment for this file.

method

The compression method to use. Use 0 for store, or Z_DEFLATE for compression.

level

The level of compression to use (0 to 9).

raw

Not required - Use 0.

windowBits

Use const value -ZIPAPI_MAX_WBITS (minus).

memLevel

Use const value ZIPAPI_DEF_MEM_LEVEL.

strategy

Use const value ZIPAPI_DEFAULT_STRATEGY.

password

The password to encrypt the data with.

crcForCrypting

CRC value of the file data to be added.