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
f0a6c3f6
Commit
f0a6c3f6
authored
May 10, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Convert MEM_EXTENDED_PARAMETER also for NtMapViewOfSectionEx().
parent
e0311411
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
virtual.c
dlls/wow64/virtual.c
+8
-4
No files found.
dlls/wow64/virtual.c
View file @
f0a6c3f6
...
...
@@ -375,15 +375,19 @@ NTSTATUS WINAPI wow64_NtMapViewOfSectionEx( UINT *args )
ULONG
*
size32
=
get_ptr
(
&
args
);
ULONG
alloc
=
get_ulong
(
&
args
);
ULONG
protect
=
get_ulong
(
&
args
);
MEM_EXTENDED_PARAMETER
*
params
=
get_ptr
(
&
args
);
ULONG
params_
count
=
get_ulong
(
&
args
);
MEM_EXTENDED_PARAMETER
32
*
params32
=
get_ptr
(
&
args
);
ULONG
count
=
get_ulong
(
&
args
);
void
*
addr
;
SIZE_T
size
;
NTSTATUS
status
;
MEM_EXTENDED_PARAMETER
*
params64
;
BOOL
set_limit
=
(
!*
addr32
&&
process
==
GetCurrentProcess
());
if
((
status
=
mem_extended_parameters_32to64
(
&
params64
,
params32
,
&
count
,
set_limit
)))
return
status
;
status
=
NtMapViewOfSectionEx
(
handle
,
process
,
addr_32to64
(
&
addr
,
addr32
),
offset
,
size_32to64
(
&
size
,
size32
),
alloc
,
protect
,
params
,
params_
count
);
status
=
NtMapViewOfSectionEx
(
handle
,
process
,
addr_32to64
(
&
addr
,
addr32
),
offset
,
size_32to64
(
&
size
,
size32
),
alloc
,
protect
,
params64
,
count
);
if
(
NT_SUCCESS
(
status
))
{
SECTION_IMAGE_INFORMATION
info
;
...
...
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