|
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 | MultiByteToWide (const char *szIn, int iInSize, CZipString &szOut, UINT uCodePage) |
|
ZIP_API int | WideToMultiByte (LPCWSTR lpszIn, CZipAutoBuffer &szOut, UINT uCodePage) |
|
ZIP_API int | WideToMultiByte (LPCWSTR lpszIn, CZipAutoBuffer &szOut, bool bAddNull, UINT uCodePage) |
|
|
If the functions returns a bool value, then true indicates that the operation was successful.
|
ZIP_API bool | GetCurrentDirectory (CZipString &sz) |
| Returns the current directory and stores it in sz.
|
|
ZIP_API bool | ChangeDirectory (LPCTSTR lpDirectory) |
| Changes the current directory.
|
|
ZIP_API bool | SetFileAttr (LPCTSTR lpFileName, DWORD uAttr) |
| Sets the file attributes.
|
|
ZIP_API bool | GetFileAttr (LPCTSTR lpFileName, DWORD &uAttr) |
| Returns the file attributes.
|
|
ZIP_API bool | GetFileTimes (LPCTSTR lpFileName, time_t *tModificationTime, time_t *tCreationTime=NULL, time_t *tLastAccessTime=NULL) |
| Retrieves file times.
|
|
ZIP_API bool | SetFileTimes (LPCTSTR lpFileName, const time_t *tModificationTime, const time_t *tCreationTime=NULL, const time_t *tLastAccessTime=NULL) |
| Sets file times.
|
|
ZIP_API bool | GetFileSize (LPCTSTR lpszFileName, ZIP_SIZE_TYPE &dSize) |
| Returns the file size.
|
|
ZIP_API bool | CreateNewDirectory (LPCTSTR lpDirectory) |
| Creates a new directory.
|
|
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 | ForceDirectory (LPCTSTR lpDirectory) |
| Creates nested directories at once.
|
|
ZIP_API bool | RemoveFile (LPCTSTR lpszFileName, bool bThrow=true, int iMode=fomRegular) |
| Removes a file.
|
|
ZIP_API bool | RenameFile (LPCTSTR lpszOldName, LPCTSTR lpszNewName, bool bThrow=true) |
| Renames a file.
|
|
void | ConvertTimeToFileTime (const time_t &ttime, ZFILETIME &fileTime) |
|
bool | ConvertFileTimeToTime (const ZFILETIME &fileTime, time_t &ttime) |
|
ZIP_API bool | SetFileAttr (HANDLE handle, DWORD uAttr) |
| Sets the file attributes.
|
|
ZIP_API bool | SetFileTimes (HANDLE handle, const time_t *tModificationTime, const time_t *tCreationTime=NULL, const time_t *tLastAccessTime=NULL) |
| Set file times.
|
|
ZIP_API bool | TruncateFile (int iDes, ULONGLONG uSize) |
|
ZIP_API int | OpenFile (LPCTSTR lpszFileName, UINT iMode, int iShareMode) |
|
ZIP_API bool | FlushFile (int iDes) |
|
ZIP_API intptr_t | GetFileSystemHandle (int iDes) |
|
Includes functions that require system-specific implementation.