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 )
}
/***********************************************************************
* 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);
......
......@@ -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)
......
......@@ -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;
......
......@@ -145,6 +145,7 @@ static void * const syscalls[] =
NtUserDrawIconEx,
NtUserEmptyClipboard,
NtUserEnableMenuItem,
NtUserEnableMouseInPointer,
NtUserEnableScrollBar,
NtUserEndDeferWindowPosEx,
NtUserEndMenu,
......
......@@ -861,7 +861,7 @@
@ stub NtUserEnableChildWindowDpiMessage
@ stub NtUserEnableIAMAccess
@ stdcall -syscall NtUserEnableMenuItem(long long long)
@ stub NtUserEnableMouseInPointer
@ stdcall -syscall NtUserEnableMouseInPointer(long)
@ stub NtUserEnableMouseInPointerForWindow
@ stub NtUserEnableMouseInputForCursorSuppression
@ stub NtUserEnableNonClientDpiScaling
......
......@@ -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 ) \
......
......@@ -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 );
......
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