From 5abd763df57af838d71e75462014e0d0c8ce1fc1 Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Thu, 8 Aug 2024 18:52:57 +0100 Subject: [PATCH] [Build]Clean the WPARAM warning on IDL (#34223) ## Summary of the Pull Request Cleans a build warning about WPARAM when building the idl file. Seems like typedef is not liked too much when compiling for winrt/Cpp. --- src/common/interop/KeyboardHook.idl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/interop/KeyboardHook.idl b/src/common/interop/KeyboardHook.idl index eae0926973..6b9bf8b2ae 100644 --- a/src/common/interop/KeyboardHook.idl +++ b/src/common/interop/KeyboardHook.idl @@ -1,12 +1,10 @@ -typedef UInt64 WPARAM; - namespace PowerToys { namespace Interop { struct KeyboardEvent { - WPARAM message; + UInt64 message; Int32 key; UInt64 dwExtraInfo; };