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