From 89a7fad16d06b271dab13f8c63dfaa95dbdf398b Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 11 Sep 2015 00:25:23 +0200 Subject: Windows: avoid freezing the wait dialog by setting its parent to desktop when having lengthy driver calls (like mounting) --- src/Mount/Mount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mount/Mount.h') 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 -- cgit v1.2.3