VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-09-11 00:25:23 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-09-11 00:38:52 +0200
commit89a7fad16d06b271dab13f8c63dfaa95dbdf398b (patch)
treef1d44c6c364aa747b5e9b9549a5202e16d50f935 /src/Mount/Mount.h
parentfe6ea623637a94f74ce60cbf134783bfcbdf5e0b (diff)
downloadVeraCrypt-89a7fad16d06b271dab13f8c63dfaa95dbdf398b.tar.gz
VeraCrypt-89a7fad16d06b271dab13f8c63dfaa95dbdf398b.zip
Windows: avoid freezing the wait dialog by setting its parent to desktop when having lengthy driver calls (like mounting)
Diffstat (limited to 'src/Mount/Mount.h')
-rw-r--r--src/Mount/Mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mount/Mount.h b/src/Mount/Mount.h
index dcae9921..097a8a48 100644
--- a/src/Mount/Mount.h
+++ b/src/Mount/Mount.h
@@ -127,6 +127,6 @@ typedef struct
void SetDriverConfigurationFlag (uint32 flag, BOOL state);
BOOL MountFavoriteVolumes (HWND hwnd, BOOL systemFavorites = FALSE, BOOL logOnMount = FALSE, BOOL hotKeyMount = FALSE, const VeraCrypt::FavoriteVolume &favoriteVolumeToMount = VeraCrypt::FavoriteVolume());
-void CALLBACK mountFavoriteVolumeThreadFunction (void *pArg, HWND hwnd);
+void __cdecl mountFavoriteVolumeThreadFunction (void *pArg);
#endif