diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-08-04 10:25:12 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-08-04 10:25:12 +0200 |
commit | c8b9a73916b727d973cf51f1d7ebac3b9670d06b (patch) | |
tree | 82b156c8a0e19fccfa09ee84a0aef9692804c3d1 /src/Boot | |
parent | 71215f1a2541483ac82050fc3cb8af3a3e06cc24 (diff) | |
download | VeraCrypt-c8b9a73916b727d973cf51f1d7ebac3b9670d06b.tar.gz VeraCrypt-c8b9a73916b727d973cf51f1d7ebac3b9670d06b.zip |
Windows: Fix rare cases being stuck in Secure Desktop after it is used for password entry
Cause seems to be IME as documented in KeePass project (https://keepass.info/help/kb/sec_desk.html#ime). We use the same approach as KeePass to disable IME in Secure Desktop.
This commit also add few changes:
- we switch to secure desktop only if SetThreadDesktop succeeds
- we call SwitchDesktop to switch to original desktop only if we actually succeeded in displaying secure desktop
Diffstat (limited to 'src/Boot')
0 files changed, 0 insertions, 0 deletions