30 Nov
2025
30 Nov
'25
5:59 p.m.
From: Hecheng Yu <kde-yyds(a)qq.com> --- dlls/user32/misc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index 37283c99eec..c7c5dfd085d 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -512,6 +512,11 @@ LRESULT WINAPI PackTouchHitTestingProximityEvaluation(const TOUCH_HIT_TESTING_IN */ BOOL WINAPI GetPointerType(UINT32 id, POINTER_INPUT_TYPE *type) { + if(!id || !type) + { + SetLastError(ERROR_INVALID_PARAMETER); + return FALSE; + } return NtUserGetPointerType( id, type ); } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9628