VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-20 14:36:55 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-20 21:23:21 (GMT)
commitfb317ebc48650067961a2435802a7ec2abc99a4d (patch)
tree4b909581e5cadbe4f60ccaef537702dc5db8594c
parent6d6aafe58d26af4ed91cb448c8b90991712683e9 (diff)
downloadVeraCrypt-fb317ebc48650067961a2435802a7ec2abc99a4d.zip
VeraCrypt-fb317ebc48650067961a2435802a7ec2abc99a4d.tar.gz
Windows: enable secure desktop feature for VeraCrypt Format application.
-rw-r--r--src/Common/Dlgcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index f11204d..5dedcd7 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -26,7 +26,7 @@
#include <time.h>
#include <tchar.h>
#include <Richedit.h>
-#ifdef TCMOUNT
+#if defined (TCMOUNT) || defined (VOLFORMAT)
#include <Shlwapi.h>
#include <process.h>
#include <Tlhelp32.h>
@@ -13030,7 +13030,7 @@ BOOL DeleteDirectory (const wchar_t* szDirName)
return bStatus;
}
-#ifdef TCMOUNT
+#if defined (TCMOUNT) || defined (VOLFORMAT)
/*********************************************************************/
static BOOL GenerateRandomString (HWND hwndDlg, LPTSTR szName, DWORD maxCharsCount)