diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-20 09:39:22 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-20 09:39:22 +0200 |
commit | 0f3ae268a4b0dfac7090f4fbf969601a1c35c86f (patch) | |
tree | 7c0a8afeae852abc98f81d402e3889d526a6fe2c /src/Setup/Wizard.c | |
parent | b1657e88e4f7922cda6795d843b5b7723b27102f (diff) | |
download | VeraCrypt-0f3ae268a4b0dfac7090f4fbf969601a1c35c86f.tar.gz VeraCrypt-0f3ae268a4b0dfac7090f4fbf969601a1c35c86f.zip |
Windows: Add setting in main UI and setup wizard to disable memory protection
This can be useful for users who need Accessibility software that may not work when memory protection is active in VeraCrypt
Diffstat (limited to 'src/Setup/Wizard.c')
-rw-r--r-- | src/Setup/Wizard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Setup/Wizard.c b/src/Setup/Wizard.c index 78616abe..857eb2de 100644 --- a/src/Setup/Wizard.c +++ b/src/Setup/Wizard.c @@ -685,6 +685,10 @@ BOOL CALLBACK PageDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa bForAllUsers = IsButtonChecked (GetDlgItem (hCurPage, IDC_ALL_USERS)); return 1; + case IDC_DISABLE_MEMORY_PROTECTION: + bDisableMemoryProtection = IsButtonChecked (GetDlgItem (hCurPage, IDC_DISABLE_MEMORY_PROTECTION)); + return 1; + case IDC_FILE_TYPE: bRegisterFileExt = IsButtonChecked (GetDlgItem (hCurPage, IDC_FILE_TYPE)); return 1; |