1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Windows: avoid freezing the wait dialog by setting its parent to desktop when having lengthy driver calls (like mounting)

This commit is contained in:
Mounir IDRASSI
2015-09-11 00:25:23 +02:00
parent fe6ea62363
commit 89a7fad16d
3 changed files with 29 additions and 18 deletions

View File

@@ -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