diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-10-08 01:55:07 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-10-08 01:55:07 +0200 |
commit | c91e5792ef7361a06ed959b47cbe97da97e7a037 (patch) | |
tree | 144b5f051dc878ff10756788a63ef6c471a69b12 /src/Main/Forms/Forms.h | |
parent | 22ac25dde7b80ffd15ac1bf513d6c8578f3832cf (diff) | |
download | VeraCrypt-c91e5792ef7361a06ed959b47cbe97da97e7a037.tar.gz VeraCrypt-c91e5792ef7361a06ed959b47cbe97da97e7a037.zip |
Windows: Modified implementation for Secure Desktop handling to overcome Windows 11 issues
We use only alphanumeric characters for the name in addition to the '_' character
We ensure the random desktop name doesn't already exist
We create the random desktop on the Secure Desktop thread and we look over SwitchDesktop until it works.
We call SetThreadDesktop (hOriginalDesk) in main thread once we finish
Diffstat (limited to 'src/Main/Forms/Forms.h')
0 files changed, 0 insertions, 0 deletions