VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume/WinMain.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-05-05 11:12:25 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-05-05 14:48:05 (GMT)
commit53aabf3f14e75762759bf58fbe726934db38ef76 (patch)
treed63c649ff16f714b85ab3d71169c970a55b00cab /src/ExpandVolume/WinMain.cpp
parentfb9a49cb1afeebfda621774cd381791c78721949 (diff)
downloadVeraCrypt-53aabf3f14e75762759bf58fbe726934db38ef76.zip
VeraCrypt-53aabf3f14e75762759bf58fbe726934db38ef76.tar.gz
Windows: Add option and command line switch to hide waiting dialog when performing operations.
Diffstat (limited to 'src/ExpandVolume/WinMain.cpp')
-rw-r--r--src/ExpandVolume/WinMain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp
index e6efd1d..fb9d52a 100644
--- a/src/ExpandVolume/WinMain.cpp
+++ b/src/ExpandVolume/WinMain.cpp
@@ -283,6 +283,7 @@ void LoadSettings (HWND hwndDlg)
bPreserveTimestamp = defaultMountOptions.PreserveTimestamp = ConfigReadInt ("PreserveTimestamps", TRUE);
bShowDisconnectedNetworkDrives = ConfigReadInt ("ShowDisconnectedNetworkDrives", FALSE);
+ bHideWaitingDialog = ConfigReadInt ("HideWaitingDialog", FALSE);
defaultMountOptions.Removable = ConfigReadInt ("MountVolumesRemovable", FALSE);
defaultMountOptions.ReadOnly = ConfigReadInt ("MountVolumesReadOnly", FALSE);
defaultMountOptions.ProtectHiddenVolume = FALSE;
@@ -873,6 +874,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
// Set critical default options in case UsePreferences is false
bPreserveTimestamp = defaultMountOptions.PreserveTimestamp = TRUE;
bShowDisconnectedNetworkDrives = FALSE;
+ bHideWaitingDialog = FALSE;
if (UsePreferences)
{