Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
73842518
Commit
73842518
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: Move NtUserEnableMouseInPointer from user32.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51537
parent
3cf7b6b4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
13 deletions
+23
-13
input.c
dlls/user32/input.c
+0
-11
user32.spec
dlls/user32/user32.spec
+1
-1
input.c
dlls/win32u/input.c
+12
-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
+7
-0
No files found.
dlls/user32/input.c
View file @
73842518
...
...
@@ -495,17 +495,6 @@ BOOL WINAPI UnloadKeyboardLayout( HKL layout )
}
/***********************************************************************
* EnableMouseInPointer (USER32.@)
*/
BOOL
WINAPI
EnableMouseInPointer
(
BOOL
enable
)
{
FIXME
(
"(%#x) stub
\n
"
,
enable
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
static
DWORD
CALLBACK
devnotify_window_callback
(
HANDLE
handle
,
DWORD
flags
,
DEV_BROADCAST_HDR
*
header
)
{
SendMessageTimeoutW
(
handle
,
WM_DEVICECHANGE
,
flags
,
(
LPARAM
)
header
,
SMTO_ABORTIFHUNG
,
2000
,
NULL
);
...
...
dlls/user32/user32.spec
View file @
73842518
...
...
@@ -205,7 +205,7 @@
@ stdcall EditWndProc(long long long long) EditWndProcA
@ stdcall EmptyClipboard() NtUserEmptyClipboard
@ stdcall EnableMenuItem(long long long) NtUserEnableMenuItem
@ stdcall EnableMouseInPointer(long)
@ stdcall EnableMouseInPointer(long)
NtUserEnableMouseInPointer
@ stdcall EnableNonClientDpiScaling(long)
@ stdcall -import EnableScrollBar(long long long) NtUserEnableScrollBar
@ stdcall EnableWindow(long long)
...
...
dlls/win32u/input.c
View file @
73842518
...
...
@@ -2153,6 +2153,18 @@ void toggle_caret( HWND hwnd )
if
(
ret
&&
!
hidden
)
display_caret
(
hwnd
,
&
r
);
}
/**********************************************************************
* NtUserEnableMouseInPointer (win32u.@)
*/
BOOL
WINAPI
NtUserEnableMouseInPointer
(
BOOL
enable
)
{
FIXME
(
"enable %u stub!
\n
"
,
enable
);
RtlSetLastWin32Error
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
HWND
get_shell_window
(
void
)
{
HWND
hwnd
=
0
;
...
...
dlls/win32u/syscall.c
View file @
73842518
...
...
@@ -145,6 +145,7 @@ static void * const syscalls[] =
NtUserDrawIconEx
,
NtUserEmptyClipboard
,
NtUserEnableMenuItem
,
NtUserEnableMouseInPointer
,
NtUserEnableScrollBar
,
NtUserEndDeferWindowPosEx
,
NtUserEndMenu
,
...
...
dlls/win32u/win32u.spec
View file @
73842518
...
...
@@ -861,7 +861,7 @@
@ stub NtUserEnableChildWindowDpiMessage
@ stub NtUserEnableIAMAccess
@ stdcall -syscall NtUserEnableMenuItem(long long long)
@ st
ub NtUserEnableMouseInPointer
@ st
dcall -syscall NtUserEnableMouseInPointer(long)
@ stub NtUserEnableMouseInPointerForWindow
@ stub NtUserEnableMouseInputForCursorSuppression
@ stub NtUserEnableNonClientDpiScaling
...
...
dlls/wow64win/syscall.h
View file @
73842518
...
...
@@ -131,6 +131,7 @@
SYSCALL_ENTRY( NtUserDrawIconEx ) \
SYSCALL_ENTRY( NtUserEmptyClipboard ) \
SYSCALL_ENTRY( NtUserEnableMenuItem ) \
SYSCALL_ENTRY( NtUserEnableMouseInPointer ) \
SYSCALL_ENTRY( NtUserEnableScrollBar ) \
SYSCALL_ENTRY( NtUserEndDeferWindowPosEx ) \
SYSCALL_ENTRY( NtUserEndMenu ) \
...
...
dlls/wow64win/user.c
View file @
73842518
...
...
@@ -1629,6 +1629,13 @@ NTSTATUS WINAPI wow64_NtUserEnableMenuItem( UINT *args )
return
NtUserEnableMenuItem
(
handle
,
id
,
flags
);
}
NTSTATUS
WINAPI
wow64_NtUserEnableMouseInPointer
(
UINT
*
args
)
{
UINT
enable
=
get_ulong
(
&
args
);
return
NtUserEnableMouseInPointer
(
enable
);
}
NTSTATUS
WINAPI
wow64_NtUserEnableScrollBar
(
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