[PATCH 3/6] user32: Trace command in hexadecimal in GetRawDeviceInfo().

Zebediah Figura zfigura at codeweavers.com
Mon Aug 20 15:24:40 CDT 2018


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/user32/rawinput.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/rawinput.c b/dlls/user32/rawinput.c
index 5ce42f6..bd5fbf4 100644
--- a/dlls/user32/rawinput.c
+++ b/dlls/user32/rawinput.c
@@ -177,7 +177,7 @@ UINT WINAPI GetRawInputDeviceInfoA(HANDLE device, UINT command, void *data, UINT
 {
     UINT ret;
 
-    TRACE("device %p, command %u, data %p, data_size %p.\n",
+    TRACE("device %p, command %#x, data %p, data_size %p.\n",
             device, command, data, data_size);
 
     ret = GetRawInputDeviceInfoW(device, command, data, data_size);
@@ -201,7 +201,7 @@ UINT WINAPI GetRawInputDeviceInfoW(HANDLE device, UINT command, void *data, UINT
     RID_DEVICE_INFO *info;
     UINT s;
 
-    TRACE("device %p, command %u, data %p, data_size %p.\n",
+    TRACE("device %p, command %#x, data %p, data_size %p.\n",
             device, command, data, data_size);
 
     if (!data_size || (device != WINE_MOUSE_HANDLE && device != WINE_KEYBOARD_HANDLE)) return ~0U;
-- 
2.7.4




More information about the wine-devel mailing list