VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-20 16:36:55 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-20 23:23:21 +0200
commitfb317ebc48650067961a2435802a7ec2abc99a4d (patch)
tree4b909581e5cadbe4f60ccaef537702dc5db8594c /src
parent6d6aafe58d26af4ed91cb448c8b90991712683e9 (diff)
downloadVeraCrypt-fb317ebc48650067961a2435802a7ec2abc99a4d.tar.gz
VeraCrypt-fb317ebc48650067961a2435802a7ec2abc99a4d.zip
Windows: enable secure desktop feature for VeraCrypt Format application.
Diffstat (limited to 'src')
-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 f11204d0..5dedcd7e 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)