mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-06 00:56:35 -05:00
Windows: retry UAC prompt operation in case of failure. This avoids cancel the whole operation if the user is not in front of the machine during UAC prompt (this happens ofter during in-place encryption of big NTFS partitions).
This commit is contained in:
1 parent
b16cfa959d
commit
96b39a5973
4 files changed
+36
-11
No files matched your search
@@ -8089,6 +8089,11 @@ int Error (char *stringId, HWND hwnd)
|
||||
return MessageBoxW (hwnd, GetString (stringId), lpszTitle, MB_ICONERROR);
|
||||
}
|
||||
|
||||
int ErrorRetryCancel (char *stringId, HWND hwnd)
|
||||
{
|
||||
if (Silent) return 0;
|
||||
return MessageBoxW (hwnd, GetString (stringId), lpszTitle, MB_ICONERROR | MB_RETRYCANCEL);
|
||||
}
|
||||
|
||||
int ErrorTopMost (char *stringId, HWND hwnd)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user