Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fbcc124e
Commit
fbcc124e
authored
Aug 16, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64win: Fix NtUserGetMouseMovePointsEx thunk.
parent
6d8b1887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
3 deletions
+44
-3
user.c
dlls/wow64win/user.c
+44
-3
No files found.
dlls/wow64win/user.c
View file @
fbcc124e
...
...
@@ -121,6 +121,14 @@ typedef struct
typedef
struct
{
int
x
;
int
y
;
DWORD
time
;
ULONG
dwExtraInfo
;
}
MOUSEMOVEPOINT32
;
typedef
struct
{
UINT32
hdc
;
BOOL
fErase
;
RECT
rcPaint
;
...
...
@@ -2107,12 +2115,45 @@ NTSTATUS WINAPI wow64_NtUserGetMessage( UINT *args )
NTSTATUS
WINAPI
wow64_NtUserGetMouseMovePointsEx
(
UINT
*
args
)
{
UINT
size
=
get_ulong
(
&
args
);
MOUSEMOVEPOINT
*
ptin
=
get_ptr
(
&
args
);
MOUSEMOVEPOINT
*
ptout
=
get_ptr
(
&
args
);
MOUSEMOVEPOINT
32
*
ptin32
=
get_ptr
(
&
args
);
MOUSEMOVEPOINT
32
*
ptout32
=
get_ptr
(
&
args
);
int
count
=
get_ulong
(
&
args
);
DWORD
resolution
=
get_ulong
(
&
args
);
return
NtUserGetMouseMovePointsEx
(
size
,
ptin
,
ptout
,
count
,
resolution
);
MOUSEMOVEPOINT
ptin
[
64
],
ptout
[
64
];
int
ret
,
i
;
if
(
size
!=
sizeof
(
MOUSEMOVEPOINT32
)
||
count
<
0
||
count
>
ARRAYSIZE
(
ptin
))
{
RtlSetLastWin32Error
(
ERROR_INVALID_PARAMETER
);
return
-
1
;
}
if
(
!
ptin32
||
(
!
ptout32
&&
count
))
{
set_last_error32
(
ERROR_NOACCESS
);
return
-
1
;
}
for
(
i
=
0
;
i
<
count
;
i
++
)
{
ptin
[
i
].
x
=
ptin32
[
i
].
x
;
ptin
[
i
].
y
=
ptin32
[
i
].
y
;
ptin
[
i
].
time
=
ptin32
[
i
].
time
;
ptin
[
i
].
dwExtraInfo
=
ptin32
[
i
].
dwExtraInfo
;
}
ret
=
NtUserGetMouseMovePointsEx
(
sizeof
(
MOUSEMOVEPOINT
),
ptin
,
ptout
,
count
,
resolution
);
for
(
i
=
0
;
i
<
ret
;
i
++
)
{
ptout32
[
i
].
x
=
ptout
[
i
].
x
;
ptout32
[
i
].
y
=
ptout
[
i
].
y
;
ptout32
[
i
].
time
=
ptout
[
i
].
time
;
ptout32
[
i
].
dwExtraInfo
=
ptout
[
i
].
dwExtraInfo
;
}
return
ret
;
}
NTSTATUS
WINAPI
wow64_NtUserGetObjectInformation
(
UINT
*
args
)
...
...
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