win32u: Stub NtUserGetPointerInfoList syscall.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53847
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51537
This commit is contained in:
Rémi Bernon 2023-01-26 12:38:35 +01:00 committed by Alexandre Julliard
parent 1f2e722877
commit 45e6dfc192
5 changed files with 28 additions and 1 deletions

View file

@ -2174,6 +2174,17 @@ BOOL WINAPI NtUserIsMouseInPointerEnabled(void)
return FALSE;
}
/**********************************************************************
* NtUserGetPointerInfoList (win32u.@)
*/
BOOL WINAPI NtUserGetPointerInfoList( UINT32 id, POINTER_INPUT_TYPE type, UINT_PTR unk0, UINT_PTR unk1, SIZE_T size,
UINT32 *entry_count, UINT32 *pointer_count, void *pointer_info )
{
FIXME( "id %#x, type %#x, unk0 %#zx, unk1 %#zx, size %#zx, entry_count %p, pointer_count %p, pointer_info %p stub!\n",
id, (int)type, unk0, unk1, (size_t)size, entry_count, pointer_count, pointer_info );
RtlSetLastWin32Error( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
HWND get_shell_window(void)
{

View file

@ -193,6 +193,7 @@ static void * const syscalls[] =
NtUserGetMouseMovePointsEx,
NtUserGetObjectInformation,
NtUserGetOpenClipboardWindow,
NtUserGetPointerInfoList,
NtUserGetPriorityClipboardFormat,
NtUserGetProcessDpiAwarenessContext,
NtUserGetProcessWindowStation,

View file

@ -971,7 +971,7 @@
@ stub NtUserGetPointerDeviceRects
@ stub NtUserGetPointerDevices
@ stub NtUserGetPointerFrameTimes
@ stub NtUserGetPointerInfoList
@ stdcall -syscall NtUserGetPointerInfoList(long long long long long ptr ptr ptr)
@ stub NtUserGetPointerInputTransform
@ stub NtUserGetPointerProprietaryId
@ stub NtUserGetPointerType

View file

@ -179,6 +179,7 @@
SYSCALL_ENTRY( NtUserGetMouseMovePointsEx ) \
SYSCALL_ENTRY( NtUserGetObjectInformation ) \
SYSCALL_ENTRY( NtUserGetOpenClipboardWindow ) \
SYSCALL_ENTRY( NtUserGetPointerInfoList ) \
SYSCALL_ENTRY( NtUserGetPriorityClipboardFormat ) \
SYSCALL_ENTRY( NtUserGetProcessDpiAwarenessContext ) \
SYSCALL_ENTRY( NtUserGetProcessWindowStation ) \

View file

@ -2246,6 +2246,20 @@ NTSTATUS WINAPI wow64_NtUserGetOpenClipboardWindow( UINT *args )
return HandleToUlong( NtUserGetOpenClipboardWindow() );
}
NTSTATUS WINAPI wow64_NtUserGetPointerInfoList( UINT *args )
{
UINT id = get_ulong( &args );
UINT type = get_ulong( &args );
UINT unk0 = get_ulong( &args );
UINT unk1 = get_ulong( &args );
UINT size = get_ulong( &args );
void *entry_count = get_ptr( &args );
void *pointer_count = get_ptr( &args );
void *pointer_info = get_ptr( &args );
return NtUserGetPointerInfoList( id, type, unk0, unk1, size, entry_count, pointer_count, pointer_info );
}
NTSTATUS WINAPI wow64_NtUserGetPriorityClipboardFormat( UINT *args )
{
UINT *list = get_ptr( &args );