2020-04-21 10:25:14 -07:00
|
|
|
#pragma once
|
2020-12-15 15:16:09 +03:00
|
|
|
|
|
|
|
#include <cstdint>
|
2020-04-21 10:25:14 -07:00
|
|
|
|
|
|
|
namespace CommonSharedConstants
|
|
|
|
{
|
|
|
|
// Flag that can be set on an input event so that it is ignored by Keyboard Manager
|
2020-12-15 15:16:09 +03:00
|
|
|
const uintptr_t KEYBOARDMANAGER_INJECTED_FLAG = 0x1;
|
2020-04-23 08:37:52 -07:00
|
|
|
|
|
|
|
// Fake key code to represent VK_WIN.
|
2021-06-01 19:15:16 +03:00
|
|
|
inline const DWORD VK_WIN_BOTH = 0x104;
|
2020-09-21 12:44:16 +02:00
|
|
|
|
2021-03-22 17:23:39 +02:00
|
|
|
const wchar_t APPDATA_PATH[] = L"Microsoft\\PowerToys";
|
|
|
|
|
2020-09-21 12:44:16 +02:00
|
|
|
// Path to the event used by PowerLauncher
|
|
|
|
const wchar_t POWER_LAUNCHER_SHARED_EVENT[] = L"Local\\PowerToysRunInvokeEvent-30f26ad7-d36d-4c0e-ab02-68bb5ff3c4ab";
|
2020-10-02 15:36:36 +03:00
|
|
|
|
2021-10-01 14:59:52 +01:00
|
|
|
const wchar_t POWER_LAUNCHER_CENTRALIZED_HOOK_SHARED_EVENT[] = L"Local\\PowerToysRunCentralizedHookInvokeEvent-30f26ad7-d36d-4c0e-ab02-68bb5ff3c4ab";
|
|
|
|
|
2021-03-19 19:03:12 +02:00
|
|
|
const wchar_t RUN_SEND_SETTINGS_TELEMETRY_EVENT[] = L"Local\\PowerToysRunInvokeEvent-638ec522-0018-4b96-837d-6bd88e06f0d6";
|
|
|
|
|
2021-05-24 12:05:17 +03:00
|
|
|
const wchar_t RUN_EXIT_EVENT[] = L"Local\\PowerToysRunExitEvent-3e38e49d-a762-4ef1-88f2-fd4bc7481516";
|
2021-07-26 17:02:44 +03:00
|
|
|
|
|
|
|
const wchar_t FZE_EXIT_EVENT[] = L"Local\\PowerToys-FZE-ExitEvent-ca8c73de-a52c-4274-b691-46e9592d3b43";
|
2021-05-24 12:05:17 +03:00
|
|
|
|
2021-03-25 16:04:56 +02:00
|
|
|
const wchar_t COLOR_PICKER_SEND_SETTINGS_TELEMETRY_EVENT[] = L"Local\\ColorPickerSettingsTelemetryEvent-6c7071d8-4014-46ec-b687-913bd8a422f1";
|
|
|
|
|
2021-03-02 20:56:37 +03:00
|
|
|
// Path to the event used to show Color Picker
|
|
|
|
const wchar_t SHOW_COLOR_PICKER_SHARED_EVENT[] = L"Local\\ShowColorPickerEvent-8c46be2a-3e05-4186-b56b-4ae986ef2525";
|
|
|
|
|
2021-05-20 15:07:34 +03:00
|
|
|
const wchar_t SHORTCUT_GUIDE_EXIT_EVENT[] = L"Local\\ShortcutGuide-ExitEvent-35697cdd-a3d2-47d6-a246-34efcc73eac0";
|
2021-03-02 20:56:37 +03:00
|
|
|
|
2021-06-23 15:48:54 +03:00
|
|
|
const wchar_t FANCY_ZONES_EDITOR_TOGGLE_EVENT[] = L"Local\\FancyZones-ToggleEditorEvent-1e174338-06a3-472b-874d-073b21c62f14";
|
|
|
|
|
2021-07-13 10:39:46 -07:00
|
|
|
// Path to the event used by Awake
|
|
|
|
const wchar_t AWAKE_EXIT_EVENT[] = L"Local\\PowerToysAwakeExitEvent-c0d5e305-35fc-4fb5-83ec-f6070cfaf7fe";
|
2022-06-23 16:29:53 +02:00
|
|
|
|
|
|
|
// Path to the event used by AlwaysOnTop
|
|
|
|
const wchar_t ALWAYS_ON_TOP_PIN_EVENT[] = L"Local\\AlwaysOnTopPinEvent-892e0aa2-cfa8-4cc4-b196-ddeb32314ce8";
|
2021-07-13 10:39:46 -07:00
|
|
|
|
2020-10-02 15:36:36 +03:00
|
|
|
// Max DWORD for key code to disable keys.
|
2021-06-01 19:15:16 +03:00
|
|
|
const DWORD VK_DISABLED = 0x100;
|
2021-04-08 19:42:46 +02:00
|
|
|
}
|