[AOT] Low level keyboard hook (#18643)

* low level keyboard hook for always on top

* fix for message loop

* fix spellcheck

* refactoring and cleanup

* spellcheck
This commit is contained in:
Davide Giacometti
2022-06-23 16:29:53 +02:00
committed by GitHub
parent 2159e2722e
commit 301f26aca1
7 changed files with 221 additions and 6 deletions

View File

@@ -34,6 +34,9 @@ namespace CommonSharedConstants
// Path to the event used by Awake
const wchar_t AWAKE_EXIT_EVENT[] = L"Local\\PowerToysAwakeExitEvent-c0d5e305-35fc-4fb5-83ec-f6070cfaf7fe";
// Path to the event used by AlwaysOnTop
const wchar_t ALWAYS_ON_TOP_PIN_EVENT[] = L"Local\\AlwaysOnTopPinEvent-892e0aa2-cfa8-4cc4-b196-ddeb32314ce8";
// Max DWORD for key code to disable keys.
const DWORD VK_DISABLED = 0x100;