Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
64532621
Commit
64532621
authored
Oct 30, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add DragObject() stub.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53768
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
abee72f3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
2 deletions
+26
-2
user32.spec
dlls/user32/user32.spec
+1
-1
syscall.c
dlls/win32u/syscall.c
+1
-0
win32u.spec
dlls/win32u/win32u.spec
+1
-1
window.c
dlls/win32u/window.c
+10
-0
syscall.h
dlls/wow64win/syscall.h
+1
-0
user.c
dlls/wow64win/user.c
+11
-0
ntuser.h
include/ntuser.h
+1
-0
No files found.
dlls/user32/user32.spec
View file @
64532621
...
...
@@ -182,7 +182,7 @@
@ stdcall DlgDirSelectExA(long ptr long long)
@ stdcall DlgDirSelectExW(long ptr long long)
@ stdcall DragDetect(long int64)
@ st
ub
DragObject
@ st
dcall DragObject(long long long long long) NtUser
DragObject
@ stdcall DrawAnimatedRects(long long ptr ptr)
@ stdcall DrawCaption(long long ptr long)
@ stdcall DrawCaptionTempA(long long ptr long long str long)
...
...
dlls/win32u/syscall.c
View file @
64532621
...
...
@@ -141,6 +141,7 @@ static void * const syscalls[] =
NtUserDispatchMessage
,
NtUserDisplayConfigGetDeviceInfo
,
NtUserDragDetect
,
NtUserDragObject
,
NtUserDrawIconEx
,
NtUserEmptyClipboard
,
NtUserEnableMenuItem
,
...
...
dlls/win32u/win32u.spec
View file @
64532621
...
...
@@ -846,7 +846,7 @@
@ stub NtUserDoSoundDisconnect
@ stub NtUserDownlevelTouchpad
@ stdcall -syscall NtUserDragDetect(long long long)
@ st
ub NtUserDragObject
@ st
dcall -syscall NtUserDragObject(long long long long long)
@ stub NtUserDrawAnimatedRects
@ stub NtUserDrawCaption
@ stdcall NtUserDrawCaptionTemp(long long ptr long long wstr long)
...
...
dlls/win32u/window.c
View file @
64532621
...
...
@@ -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
;
}
dlls/wow64win/syscall.h
View file @
64532621
...
...
@@ -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 ) \
...
...
dlls/wow64win/user.c
View file @
64532621
...
...
@@ -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
);
...
...
include/ntuser.h
View file @
64532621
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment