|
Functions |
| ZIP_API void | AnsiOem (CZipAutoBuffer &buffer, bool bAnsiToOem) |
| ZIP_API int | FileExists (LPCTSTR lpszName) |
| ZIP_API DWORD | GetDefaultAttributes () |
| ZIP_API DWORD | GetDefaultDirAttributes () |
| ZIP_API ULONGLONG | GetDeviceFreeSpace (LPCTSTR lpszPath) |
| ZIP_API bool | GetSystemCaseSensitivity () |
| ZIP_API int | GetSystemID () |
| ZIP_API CZipString | GetTmpFileName (LPCTSTR lpszPath=NULL, ZIP_SIZE_TYPE uSizeNeeded=0) |
| ZIP_API bool | IsDirectory (DWORD uAttr) |
| ZIP_API bool | IsDriveRemovable (LPCTSTR lpszFilePath) |
| ZIP_API int | MultiByteToWide (const CZipAutoBuffer &szIn, CZipString &szOut, UINT uCodePage) |
| ZIP_API int | WideToMultiByte (LPCWSTR lpszIn, CZipAutoBuffer &szOut, UINT uCodePage) |
|
If the functions returns a bool value, then true indicates that the operation was successful.
|
| ZIP_API bool | ChangeDirectory (LPCTSTR lpDirectory) |
| | Changes the current directory.
|
| ZIP_API bool | CreateNewDirectory (LPCTSTR lpDirectory) |
| | Creates a new directory.
|
| ZIP_API bool | FlushFile (int iDes) |
| ZIP_API bool | ForceDirectory (LPCTSTR lpDirectory) |
| | Creates nested directories at once.
|
| ZIP_API bool | GetCurrentDirectory (CZipString &sz) |
| | Returns the current directory and stores it in sz.
|
| ZIP_API bool | GetFileAttr (LPCTSTR lpFileName, DWORD &uAttr) |
| | Returns the file attributes.
|
| ZIP_API bool | GetFileModTime (LPCTSTR lpFileName, time_t &ttime) |
| | Returns the file modification time.
|
| ZIP_API bool | GetFileSize (LPCTSTR lpszFileName, ZIP_SIZE_TYPE &dSize) |
| | Returns the file size.
|
| ZIP_API intptr_t | GetFileSystemHandle (int iDes) |
| ZIP_API int | OpenFile (LPCTSTR lpszFileName, UINT iMode, int iShareMode) |
| ZIP_API bool | RemoveFile (LPCTSTR lpszFileName, bool bThrow=true) |
| | Removes a file.
|
| ZIP_API bool | RenameFile (LPCTSTR lpszOldName, LPCTSTR lpszNewName, bool bThrow=true) |
| | Renames a file.
|
| ZIP_API bool | SetFileAttr (LPCTSTR lpFileName, DWORD uAttr) |
| | Sets the file attributes.
|
| ZIP_API bool | SetFileModTime (LPCTSTR lpFileName, time_t ttime) |
| | Set the file modification time.
|
| ZIP_API bool | SetVolLabel (LPCTSTR lpszPath, LPCTSTR lpszLabel) |
| | Sets a label on a removable device. lpszPath may point to a file on the device.
|
| ZIP_API bool | TruncateFile (int iDes, ULONGLONG uSize) |
Includes functions that require system-specific implementation.