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
2149bdfd
Commit
2149bdfd
authored
Jul 16, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64win: Convert parameters in place in wow64_NtUserCallWinProc.
parent
e1ff3c8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
user.c
dlls/wow64win/user.c
+3
-7
No files found.
dlls/wow64win/user.c
View file @
2149bdfd
...
...
@@ -615,19 +615,15 @@ static NTSTATUS WINAPI wow64_NtUserCallWinEventHook( void *arg, ULONG size )
static
NTSTATUS
WINAPI
wow64_NtUserCallWinProc
(
void
*
arg
,
ULONG
size
)
{
struct
win_proc_params
*
params
=
arg
;
struct
win_proc_params32
params32_buf
,
*
params32
=
&
params32_buf
;
struct
win_proc_params32
*
params32
=
arg
;
LRESULT
result
=
0
;
void
*
ret_ptr
;
ULONG
ret_len
;
NTSTATUS
status
;
if
(
size
>
sizeof
(
*
params
))
{
if
(
!
(
params32
=
Wow64AllocateTemp
(
size
-
sizeof
(
*
params
)
+
sizeof
(
*
params32
)
)))
return
0
;
memcpy
(
params32
+
1
,
params
+
1
,
size
-
sizeof
(
*
params
)
);
}
win_proc_params_64to32
(
params
,
params32
);
if
(
size
>
sizeof
(
*
params
))
memmove
(
params32
+
1
,
params
+
1
,
size
-
sizeof
(
*
params
)
);
status
=
Wow64KiUserCallbackDispatcher
(
NtUserCallWinProc
,
params32
,
size
-
sizeof
(
*
params
)
+
sizeof
(
*
params32
),
...
...
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