From: Rémi Bernon rbernon@codeweavers.com
Preventing Bloons TD 6 from crashing on touchscreen input. --- dlls/user32/input.c | 14 ++++++++++++++ dlls/user32/user32.spec | 2 ++ 2 files changed, 16 insertions(+)
diff --git a/dlls/user32/input.c b/dlls/user32/input.c index 4bd5785ff9b..34e3a620cc5 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -756,3 +756,17 @@ BOOL WINAPI SetGestureConfig( HWND hwnd, DWORD reserved, UINT count, SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); return FALSE; } + +BOOL WINAPI GetPointerTouchInfo( UINT32 id, POINTER_TOUCH_INFO *info ) +{ + FIXME( "id %u, info %p stub!\n", id, info ); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +} + +BOOL WINAPI GetPointerTouchInfoHistory( UINT32 id, UINT32 *count, POINTER_TOUCH_INFO *info ) +{ + FIXME( "id %u, count %p, info %p stub!\n", id, count, info ); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +} diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 256e4c33e1c..88684c29506 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -360,6 +360,8 @@ @ stdcall GetPhysicalCursorPos(ptr) @ stdcall GetPointerDevices(ptr ptr) @ stdcall GetPointerType(long ptr) +@ stdcall GetPointerTouchInfo(long ptr) +@ stdcall GetPointerTouchInfoHistory(long ptr ptr) @ stdcall GetPriorityClipboardFormat(ptr long) NtUserGetPriorityClipboardFormat @ stdcall GetProcessDefaultLayout(ptr) @ stdcall GetProcessDpiAwarenessInternal(long ptr)