Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1f2e7228
Commit
1f2e7228
authored
Dec 19, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Jan 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Stub NtUserIsMouseInPointerEnabled syscall.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51537
parent
73842518
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
7 deletions
+23
-7
input.c
dlls/user32/tests/input.c
+4
-6
user32.spec
dlls/user32/user32.spec
+1
-0
input.c
dlls/win32u/input.c
+10
-0
syscall.c
dlls/win32u/syscall.c
+1
-0
win32u.spec
dlls/win32u/win32u.spec
+1
-1
syscall.h
dlls/wow64win/syscall.h
+1
-0
user.c
dlls/wow64win/user.c
+5
-0
No files found.
dlls/user32/tests/input.c
View file @
1f2e7228
...
...
@@ -4844,17 +4844,15 @@ static void test_EnableMouseInPointer_process( const char *arg )
ok
(
!
ret
,
"EnableMouseInPointer succeeded
\n
"
);
todo_wine
ok
(
GetLastError
()
==
ERROR_ACCESS_DENIED
,
"got error %lu
\n
"
,
GetLastError
()
);
if
(
!
pIsMouseInPointerEnabled
)
ret
=
!
enable
;
else
ret
=
pIsMouseInPointerEnabled
();
todo_wine_if
(
!
pIsMouseInPointerEnabled
)
ret
=
pIsMouseInPointerEnabled
();
todo_wine_if
(
enable
)
ok
(
ret
==
enable
,
"IsMouseInPointerEnabled returned %u, error %lu
\n
"
,
ret
,
GetLastError
()
);
ret
=
pEnableMouseInPointer
(
enable
);
todo_wine
ok
(
ret
,
"EnableMouseInPointer failed, error %lu
\n
"
,
GetLastError
()
);
if
(
!
pIsMouseInPointerEnabled
)
ret
=
!
enable
;
else
ret
=
pIsMouseInPointerEnabled
();
todo_wine_if
(
!
pIsMouseInPointerEnabled
)
ret
=
pIsMouseInPointerEnabled
();
todo_wine_if
(
enable
)
ok
(
ret
==
enable
,
"IsMouseInPointerEnabled returned %u, error %lu
\n
"
,
ret
,
GetLastError
()
);
test_GetPointerInfo
(
enable
);
...
...
dlls/user32/user32.spec
View file @
1f2e7228
...
...
@@ -475,6 +475,7 @@
# @ stub IsHungThread
@ stdcall IsIconic(long)
@ stdcall IsMenu(long)
@ stdcall IsMouseInPointerEnabled() NtUserIsMouseInPointerEnabled
@ stdcall IsProcessDPIAware()
@ stdcall IsRectEmpty(ptr)
# @ stub IsServerSideWindow
...
...
dlls/win32u/input.c
View file @
1f2e7228
...
...
@@ -2164,6 +2164,16 @@ BOOL WINAPI NtUserEnableMouseInPointer( BOOL enable )
return
FALSE
;
}
/**********************************************************************
* NtUserIsMouseInPointerEnabled (win32u.@)
*/
BOOL
WINAPI
NtUserIsMouseInPointerEnabled
(
void
)
{
FIXME
(
"stub!
\n
"
);
RtlSetLastWin32Error
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
HWND
get_shell_window
(
void
)
{
...
...
dlls/win32u/syscall.c
View file @
1f2e7228
...
...
@@ -222,6 +222,7 @@ static void * const syscalls[] =
NtUserInvalidateRect
,
NtUserInvalidateRgn
,
NtUserIsClipboardFormatAvailable
,
NtUserIsMouseInPointerEnabled
,
NtUserKillTimer
,
NtUserLockWindowUpdate
,
NtUserLogicalToPerMonitorDPIPhysicalPoint
,
...
...
dlls/win32u/win32u.spec
View file @
1f2e7228
...
...
@@ -1051,7 +1051,7 @@
@ stdcall -syscall NtUserInvalidateRgn(long long long)
@ stub NtUserIsChildWindowDpiMessageEnabled
@ stdcall -syscall NtUserIsClipboardFormatAvailable(long)
@ st
ub NtUserIsMouseInPointerEnabled
@ st
dcall -syscall NtUserIsMouseInPointerEnabled()
@ stub NtUserIsMouseInputEnabled
@ stub NtUserIsNonClientDpiScalingEnabled
@ stub NtUserIsResizeLayoutSynchronizationEnabled
...
...
dlls/wow64win/syscall.h
View file @
1f2e7228
...
...
@@ -208,6 +208,7 @@
SYSCALL_ENTRY( NtUserInvalidateRect ) \
SYSCALL_ENTRY( NtUserInvalidateRgn ) \
SYSCALL_ENTRY( NtUserIsClipboardFormatAvailable ) \
SYSCALL_ENTRY( NtUserIsMouseInPointerEnabled ) \
SYSCALL_ENTRY( NtUserKillTimer ) \
SYSCALL_ENTRY( NtUserLockWindowUpdate ) \
SYSCALL_ENTRY( NtUserLogicalToPerMonitorDPIPhysicalPoint ) \
...
...
dlls/wow64win/user.c
View file @
1f2e7228
...
...
@@ -2731,6 +2731,11 @@ NTSTATUS WINAPI wow64_NtUserIsClipboardFormatAvailable( UINT *args )
return
NtUserIsClipboardFormatAvailable
(
format
);
}
NTSTATUS
WINAPI
wow64_NtUserIsMouseInPointerEnabled
(
UINT
*
args
)
{
return
NtUserIsMouseInPointerEnabled
();
}
NTSTATUS
WINAPI
wow64_NtUserKillTimer
(
UINT
*
args
)
{
HWND
hwnd
=
get_handle
(
&
args
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment