Commit 73842518 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

win32u: Move NtUserEnableMouseInPointer from user32.

parent 3cf7b6b4
...@@ -495,17 +495,6 @@ BOOL WINAPI UnloadKeyboardLayout( HKL layout ) ...@@ -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) 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); SendMessageTimeoutW(handle, WM_DEVICECHANGE, flags, (LPARAM)header, SMTO_ABORTIFHUNG, 2000, NULL);
......
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
@ stdcall EditWndProc(long long long long) EditWndProcA @ stdcall EditWndProc(long long long long) EditWndProcA
@ stdcall EmptyClipboard() NtUserEmptyClipboard @ stdcall EmptyClipboard() NtUserEmptyClipboard
@ stdcall EnableMenuItem(long long long) NtUserEnableMenuItem @ stdcall EnableMenuItem(long long long) NtUserEnableMenuItem
@ stdcall EnableMouseInPointer(long) @ stdcall EnableMouseInPointer(long) NtUserEnableMouseInPointer
@ stdcall EnableNonClientDpiScaling(long) @ stdcall EnableNonClientDpiScaling(long)
@ stdcall -import EnableScrollBar(long long long) NtUserEnableScrollBar @ stdcall -import EnableScrollBar(long long long) NtUserEnableScrollBar
@ stdcall EnableWindow(long long) @ stdcall EnableWindow(long long)
......
...@@ -2153,6 +2153,18 @@ void toggle_caret( HWND hwnd ) ...@@ -2153,6 +2153,18 @@ void toggle_caret( HWND hwnd )
if (ret && !hidden) display_caret( hwnd, &r ); 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 get_shell_window(void)
{ {
HWND hwnd = 0; HWND hwnd = 0;
......
...@@ -145,6 +145,7 @@ static void * const syscalls[] = ...@@ -145,6 +145,7 @@ static void * const syscalls[] =
NtUserDrawIconEx, NtUserDrawIconEx,
NtUserEmptyClipboard, NtUserEmptyClipboard,
NtUserEnableMenuItem, NtUserEnableMenuItem,
NtUserEnableMouseInPointer,
NtUserEnableScrollBar, NtUserEnableScrollBar,
NtUserEndDeferWindowPosEx, NtUserEndDeferWindowPosEx,
NtUserEndMenu, NtUserEndMenu,
......
...@@ -861,7 +861,7 @@ ...@@ -861,7 +861,7 @@
@ stub NtUserEnableChildWindowDpiMessage @ stub NtUserEnableChildWindowDpiMessage
@ stub NtUserEnableIAMAccess @ stub NtUserEnableIAMAccess
@ stdcall -syscall NtUserEnableMenuItem(long long long) @ stdcall -syscall NtUserEnableMenuItem(long long long)
@ stub NtUserEnableMouseInPointer @ stdcall -syscall NtUserEnableMouseInPointer(long)
@ stub NtUserEnableMouseInPointerForWindow @ stub NtUserEnableMouseInPointerForWindow
@ stub NtUserEnableMouseInputForCursorSuppression @ stub NtUserEnableMouseInputForCursorSuppression
@ stub NtUserEnableNonClientDpiScaling @ stub NtUserEnableNonClientDpiScaling
......
...@@ -131,6 +131,7 @@ ...@@ -131,6 +131,7 @@
SYSCALL_ENTRY( NtUserDrawIconEx ) \ SYSCALL_ENTRY( NtUserDrawIconEx ) \
SYSCALL_ENTRY( NtUserEmptyClipboard ) \ SYSCALL_ENTRY( NtUserEmptyClipboard ) \
SYSCALL_ENTRY( NtUserEnableMenuItem ) \ SYSCALL_ENTRY( NtUserEnableMenuItem ) \
SYSCALL_ENTRY( NtUserEnableMouseInPointer ) \
SYSCALL_ENTRY( NtUserEnableScrollBar ) \ SYSCALL_ENTRY( NtUserEnableScrollBar ) \
SYSCALL_ENTRY( NtUserEndDeferWindowPosEx ) \ SYSCALL_ENTRY( NtUserEndDeferWindowPosEx ) \
SYSCALL_ENTRY( NtUserEndMenu ) \ SYSCALL_ENTRY( NtUserEndMenu ) \
......
...@@ -1629,6 +1629,13 @@ NTSTATUS WINAPI wow64_NtUserEnableMenuItem( UINT *args ) ...@@ -1629,6 +1629,13 @@ NTSTATUS WINAPI wow64_NtUserEnableMenuItem( UINT *args )
return NtUserEnableMenuItem( handle, id, flags ); 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 ) NTSTATUS WINAPI wow64_NtUserEnableScrollBar( UINT *args )
{ {
HWND hwnd = get_handle( &args ); HWND hwnd = get_handle( &args );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment