diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-06-09 23:29:33 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-06-10 01:13:53 +0200 |
commit | b7eadfd310bc61e7a982dc8bce4eb32038a6fa09 (patch) | |
tree | 4de9e02ed3cf30e2c0af2b11ce333d356101628c /src/Common/Dlgcode.h | |
parent | a7a8d57bcaaaf4e5982d2e51cd3086d34f45f780 (diff) | |
download | VeraCrypt-b7eadfd310bc61e7a982dc8bce4eb32038a6fa09.tar.gz VeraCrypt-b7eadfd310bc61e7a982dc8bce4eb32038a6fa09.zip |
Windows: solve installer issue on Windows 10 caused by failure to overwrite VeraCrypt driver file.
Diffstat (limited to 'src/Common/Dlgcode.h')
-rw-r--r-- | src/Common/Dlgcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index a8d571dd..f6b285c4 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -77,6 +77,8 @@ enum #define TC_APPD_FILENAME_POST_INSTALL_TASK_TUTORIAL "Post-Install Task - Tutorial"
#define TC_APPD_FILENAME_POST_INSTALL_TASK_RELEASE_NOTES "Post-Install Task - Release Notes"
+#define VC_FILENAME_RENAMED_SUFFIX "_old"
+
#ifndef USER_DEFAULT_SCREEN_DPI
#define USER_DEFAULT_SCREEN_DPI 96
#endif
@@ -351,7 +353,7 @@ int64 FindString (const char *buf, const char *str, int64 bufLen, int64 strLen, BOOL FileExists (const char *filePathPtr);
__int64 FindStringInFile (const char *filePath, const char *str, int strLen);
BOOL TCCopyFile (char *sourceFileName, char *destinationFile);
-BOOL SaveBufferToFile (const char *inputBuffer, const char *destinationFile, DWORD inputLength, BOOL bAppend);
+BOOL SaveBufferToFile (const char *inputBuffer, const char *destinationFile, DWORD inputLength, BOOL bAppend, BOOL bRenameIfFailed);
BOOL TCFlushFile (FILE *f);
BOOL PrintHardCopyTextUTF16 (wchar_t *text, char *title, size_t byteLen);
void GetSpeedString (unsigned __int64 speed, wchar_t *str, size_t cbStr);
|