diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-20 16:36:55 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-07-20 23:23:21 +0200 |
commit | fb317ebc48650067961a2435802a7ec2abc99a4d (patch) | |
tree | 4b909581e5cadbe4f60ccaef537702dc5db8594c | |
parent | 6d6aafe58d26af4ed91cb448c8b90991712683e9 (diff) | |
download | VeraCrypt-fb317ebc48650067961a2435802a7ec2abc99a4d.tar.gz VeraCrypt-fb317ebc48650067961a2435802a7ec2abc99a4d.zip |
Windows: enable secure desktop feature for VeraCrypt Format application.
-rw-r--r-- | src/Common/Dlgcode.c | 4 |
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 @@ -25,9 +25,9 @@ #include <stdlib.h> #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> #endif @@ -13029,9 +13029,9 @@ BOOL DeleteDirectory (const wchar_t* szDirName) } return bStatus; } -#ifdef TCMOUNT +#if defined (TCMOUNT) || defined (VOLFORMAT) /*********************************************************************/ static BOOL GenerateRandomString (HWND hwndDlg, LPTSTR szName, DWORD maxCharsCount) { |