Commit 64532621 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

user32: Add DragObject() stub.

parent abee72f3
......@@ -182,7 +182,7 @@
@ stdcall DlgDirSelectExA(long ptr long long)
@ stdcall DlgDirSelectExW(long ptr long long)
@ stdcall DragDetect(long int64)
@ stub DragObject
@ stdcall DragObject(long long long long long) NtUserDragObject
@ stdcall DrawAnimatedRects(long long ptr ptr)
@ stdcall DrawCaption(long long ptr long)
@ stdcall DrawCaptionTempA(long long ptr long long str long)
......
......@@ -141,6 +141,7 @@ static void * const syscalls[] =
NtUserDispatchMessage,
NtUserDisplayConfigGetDeviceInfo,
NtUserDragDetect,
NtUserDragObject,
NtUserDrawIconEx,
NtUserEmptyClipboard,
NtUserEnableMenuItem,
......
......@@ -846,7 +846,7 @@
@ stub NtUserDoSoundDisconnect
@ stub NtUserDownlevelTouchpad
@ stdcall -syscall NtUserDragDetect(long long long)
@ stub NtUserDragObject
@ stdcall -syscall NtUserDragObject(long long long long long)
@ stub NtUserDrawAnimatedRects
@ stub NtUserDrawCaption
@ stdcall NtUserDrawCaptionTemp(long long ptr long long wstr long)
......
......@@ -5539,3 +5539,13 @@ ULONG_PTR WINAPI NtUserCallHwndParam( HWND hwnd, DWORD_PTR param, DWORD code )
return 0;
}
}
/*******************************************************************
* NtUserDragObject (win32u.@)
*/
DWORD WINAPI NtUserDragObject( HWND parent, HWND hwnd, UINT fmt, ULONG_PTR data, HCURSOR cursor )
{
FIXME( "%p, %p, %u, %#lx, %p stub!\n", parent, hwnd, fmt, data, cursor );
return 0;
}
......@@ -127,6 +127,7 @@
SYSCALL_ENTRY( NtUserDispatchMessage ) \
SYSCALL_ENTRY( NtUserDisplayConfigGetDeviceInfo ) \
SYSCALL_ENTRY( NtUserDragDetect ) \
SYSCALL_ENTRY( NtUserDragObject ) \
SYSCALL_ENTRY( NtUserDrawIconEx ) \
SYSCALL_ENTRY( NtUserEmptyClipboard ) \
SYSCALL_ENTRY( NtUserEnableMenuItem ) \
......
......@@ -1558,6 +1558,17 @@ NTSTATUS WINAPI wow64_NtUserDragDetect( UINT *args )
return NtUserDragDetect( hwnd, x, y );
}
NTSTATUS WINAPI wow64_NtUserDragObject( UINT *args )
{
HWND parent = get_handle( &args );
HWND hwnd = get_handle( &args );
UINT fmt = get_ulong( &args );
ULONG_PTR data = get_ulong( &args );
HCURSOR hcursor = get_handle( &args );
return NtUserDragObject( parent, hwnd, fmt, data, hcursor );
}
NTSTATUS WINAPI wow64_NtUserDrawIconEx( UINT *args )
{
HDC hdc = get_handle( &args );
......
......@@ -679,6 +679,7 @@ BOOL WINAPI NtUserDisableThreadIme( DWORD thread_id );
LRESULT WINAPI NtUserDispatchMessage( const MSG *msg );
NTSTATUS WINAPI NtUserDisplayConfigGetDeviceInfo( DISPLAYCONFIG_DEVICE_INFO_HEADER *packet );
BOOL WINAPI NtUserDragDetect( HWND hwnd, int x, int y );
DWORD WINAPI NtUserDragObject( HWND parent, HWND hwnd, UINT fmt, ULONG_PTR data, HCURSOR cursor );
BOOL WINAPI NtUserDrawCaptionTemp( HWND hwnd, HDC hdc, const RECT *rect, HFONT font,
HICON icon, const WCHAR *str, UINT flags );
BOOL WINAPI NtUserDrawIconEx( HDC hdc, INT x0, INT y0, HICON icon, INT width,
......
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