Changes options for zip archive created with ZipCreateFile.
OutputVar := ZipOptions(ZipHandle, Options)Command Example: ZipOptions hZip, 0x80000000 Function Example: Success := ZipOptions(hZip, 0x80000000)
The name of the variable in which to store 1 / true if file was added successfully or 0 / false if operation failed.
Zip handle returned from ZipCreateFile.
The only supported options is TZIP_OPTION_GZIP = 0x80000000.
When TZIP_OPTION_GZIP is used only one file can be included in the zip archive.
ZipCreateFile, ZipAddFile, ZipCloseFile, UnZip, ZipCreateBuffer, ZipAddBuffer, ZipCloseBuffer, UnZipBuffer, ZipRawMemory, UnZipRawMemory, ZipInfo, ZipAddFolder
hZip:=ZipCreateFile("C:\Test.zip") ZipOptions(hZip, 0x80000000) ZipAddFile(hZip, "C:\MyScript.ahk") ZipCloseFile(hZip)