mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
* Updated error message when SetWindowsHookEx fails to show correct error message * Added telemetry for exception in SG, FZ and KBM * Rename exception to error
13 lines
522 B
C++
13 lines
522 B
C++
#pragma once
|
|
|
|
class Trace
|
|
{
|
|
public:
|
|
static void RegisterProvider() noexcept;
|
|
static void UnregisterProvider() noexcept;
|
|
static void HideGuide(const __int64 duration_ms, std::vector<int>& key_pressed) noexcept;
|
|
static void EnableShortcutGuide(const bool enabled) noexcept;
|
|
static void SettingsChanged(const int press_delay_time, const int overlay_opacity, const std::wstring& theme) noexcept;
|
|
static void Error(const DWORD errorCode, std::wstring errorMessage, std::wstring methodName) noexcept;
|
|
};
|