mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:10:39 +00:00
user32: Add DragObject() stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53768 Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
abee72f32d
commit
645326214f
|
@ -182,7 +182,7 @@
|
||||||
@ stdcall DlgDirSelectExA(long ptr long long)
|
@ stdcall DlgDirSelectExA(long ptr long long)
|
||||||
@ stdcall DlgDirSelectExW(long ptr long long)
|
@ stdcall DlgDirSelectExW(long ptr long long)
|
||||||
@ stdcall DragDetect(long int64)
|
@ stdcall DragDetect(long int64)
|
||||||
@ stub DragObject
|
@ stdcall DragObject(long long long long long) NtUserDragObject
|
||||||
@ stdcall DrawAnimatedRects(long long ptr ptr)
|
@ stdcall DrawAnimatedRects(long long ptr ptr)
|
||||||
@ stdcall DrawCaption(long long ptr long)
|
@ stdcall DrawCaption(long long ptr long)
|
||||||
@ stdcall DrawCaptionTempA(long long ptr long long str long)
|
@ stdcall DrawCaptionTempA(long long ptr long long str long)
|
||||||
|
|
|
@ -141,6 +141,7 @@ static void * const syscalls[] =
|
||||||
NtUserDispatchMessage,
|
NtUserDispatchMessage,
|
||||||
NtUserDisplayConfigGetDeviceInfo,
|
NtUserDisplayConfigGetDeviceInfo,
|
||||||
NtUserDragDetect,
|
NtUserDragDetect,
|
||||||
|
NtUserDragObject,
|
||||||
NtUserDrawIconEx,
|
NtUserDrawIconEx,
|
||||||
NtUserEmptyClipboard,
|
NtUserEmptyClipboard,
|
||||||
NtUserEnableMenuItem,
|
NtUserEnableMenuItem,
|
||||||
|
|
|
@ -846,7 +846,7 @@
|
||||||
@ stub NtUserDoSoundDisconnect
|
@ stub NtUserDoSoundDisconnect
|
||||||
@ stub NtUserDownlevelTouchpad
|
@ stub NtUserDownlevelTouchpad
|
||||||
@ stdcall -syscall NtUserDragDetect(long long long)
|
@ stdcall -syscall NtUserDragDetect(long long long)
|
||||||
@ stub NtUserDragObject
|
@ stdcall -syscall NtUserDragObject(long long long long long)
|
||||||
@ stub NtUserDrawAnimatedRects
|
@ stub NtUserDrawAnimatedRects
|
||||||
@ stub NtUserDrawCaption
|
@ stub NtUserDrawCaption
|
||||||
@ stdcall NtUserDrawCaptionTemp(long long ptr long long wstr long)
|
@ 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;
|
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( NtUserDispatchMessage ) \
|
||||||
SYSCALL_ENTRY( NtUserDisplayConfigGetDeviceInfo ) \
|
SYSCALL_ENTRY( NtUserDisplayConfigGetDeviceInfo ) \
|
||||||
SYSCALL_ENTRY( NtUserDragDetect ) \
|
SYSCALL_ENTRY( NtUserDragDetect ) \
|
||||||
|
SYSCALL_ENTRY( NtUserDragObject ) \
|
||||||
SYSCALL_ENTRY( NtUserDrawIconEx ) \
|
SYSCALL_ENTRY( NtUserDrawIconEx ) \
|
||||||
SYSCALL_ENTRY( NtUserEmptyClipboard ) \
|
SYSCALL_ENTRY( NtUserEmptyClipboard ) \
|
||||||
SYSCALL_ENTRY( NtUserEnableMenuItem ) \
|
SYSCALL_ENTRY( NtUserEnableMenuItem ) \
|
||||||
|
|
|
@ -1558,6 +1558,17 @@ NTSTATUS WINAPI wow64_NtUserDragDetect( UINT *args )
|
||||||
return NtUserDragDetect( hwnd, x, y );
|
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 )
|
NTSTATUS WINAPI wow64_NtUserDrawIconEx( UINT *args )
|
||||||
{
|
{
|
||||||
HDC hdc = get_handle( &args );
|
HDC hdc = get_handle( &args );
|
||||||
|
|
|
@ -679,6 +679,7 @@ BOOL WINAPI NtUserDisableThreadIme( DWORD thread_id );
|
||||||
LRESULT WINAPI NtUserDispatchMessage( const MSG *msg );
|
LRESULT WINAPI NtUserDispatchMessage( const MSG *msg );
|
||||||
NTSTATUS WINAPI NtUserDisplayConfigGetDeviceInfo( DISPLAYCONFIG_DEVICE_INFO_HEADER *packet );
|
NTSTATUS WINAPI NtUserDisplayConfigGetDeviceInfo( DISPLAYCONFIG_DEVICE_INFO_HEADER *packet );
|
||||||
BOOL WINAPI NtUserDragDetect( HWND hwnd, int x, int y );
|
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,
|
BOOL WINAPI NtUserDrawCaptionTemp( HWND hwnd, HDC hdc, const RECT *rect, HFONT font,
|
||||||
HICON icon, const WCHAR *str, UINT flags );
|
HICON icon, const WCHAR *str, UINT flags );
|
||||||
BOOL WINAPI NtUserDrawIconEx( HDC hdc, INT x0, INT y0, HICON icon, INT width,
|
BOOL WINAPI NtUserDrawIconEx( HDC hdc, INT x0, INT y0, HICON icon, INT width,
|
||||||
|
|
Loading…
Reference in a new issue