The type of the last parameter should be INPUT_TRANSFORM *.
From 372fc854a6b147ec6b34de30839efa9dead23f54 Mon Sep 17 00:00:00 2001
From: Zhiyi Zhang <[email protected]>
Date: Mon, 2 Mar 2026 14:18:00 +0800
Subject: [PATCH] headers: Fix GetPointerInputTransform() prototype.

The type of the last parameter should be INPUT_TRANSFORM *.

Signed-off-by: Zhiyi Zhang <[email protected]>
---
 mingw-w64-headers/include/winuser.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mingw-w64-headers/include/winuser.h 
b/mingw-w64-headers/include/winuser.h
index 5423c72ea..482f82382 100644
--- a/mingw-w64-headers/include/winuser.h
+++ b/mingw-w64-headers/include/winuser.h
@@ -6792,7 +6792,7 @@ typedef struct tagINPUT_TRANSFORM {
 } INPUT_TRANSFORM;
 
 /* Do these functions belong here? */
-WINUSERAPI WINBOOL WINAPI GetPointerInputTransform(UINT32 pointerId, UINT32 
historyCount, UINT32 *inputTransform);
+WINUSERAPI WINBOOL WINAPI GetPointerInputTransform(UINT32 pointerId, UINT32 
historyCount, INPUT_TRANSFORM *inputTransform);
 WINUSERAPI WINBOOL WINAPI IsMousePointerEnabled(void);
 #endif /*(_WIN32_WINNT >= 0x0602)*/
 #endif
-- 
2.51.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to