HB_ZIPTESTPK()
Test pkSpaned zip files
- Syntax
-
- HB_ZIPTESTPK(<cFile>) --> <nReturnCode>
- Arguments
-
- <cFile> File to be tested.
- Returns
-
- <nReturn> An code that tell if the current disk is the Last of an pkspanded disk set.
- Description
-
- This function tests if the disk inserted is the last disk of an backup set or not. It will return the follow return code when an error is found
| Error code | Meaning |
| 114 | Incorrect Disk |
| 103 | No Call back was set with HB_SETDISKZIP() |
- Call this function to determine if the disk inserted is the correct one before any other function.
Examples
if (HB_ZIPTESTPK('a:\test22.zip')==114)
? "invalid Disk"
endif
- Status
- Ready
- Compliance
-
- This function is a Harbour extension
- Platforms
-
- All
- Files
-
- Library is zlib.lib and zlib_bor.lib For Borland Compilers Library is zlib.lib zlib_ms.lib for MSVC compilers