From: Hecheng Yu <kde-yyds(a)qq.com> Remove hardcoded PT_MOUSE stub and forward to win32u implementation. Applications like Chromium need this API to detect pointer type. --- dlls/user32/misc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index 6333fcb48b4..c7c5dfd085d 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -512,16 +512,12 @@ LRESULT WINAPI PackTouchHitTestingProximityEvaluation(const TOUCH_HIT_TESTING_IN */ BOOL WINAPI GetPointerType(UINT32 id, POINTER_INPUT_TYPE *type) { - FIXME("(%d %p): stub\n", id, type); - if(!id || !type) { SetLastError(ERROR_INVALID_PARAMETER); return FALSE; } - - *type = PT_MOUSE; - return TRUE; + return NtUserGetPointerType( id, type ); } BOOL WINAPI GetPointerInfo(UINT32 id, POINTER_INFO *info) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9628