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
4258f982
Commit
4258f982
authored
Mar 21, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Add a wrapper for NtInitializeNlsFiles().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ed078dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
syscall.h
dlls/wow64/syscall.h
+1
-0
virtual.c
dlls/wow64/virtual.c
+18
-0
No files found.
dlls/wow64/syscall.h
View file @
4258f982
...
...
@@ -97,6 +97,7 @@
SYSCALL_ENTRY( NtGetNlsSectionPtr ) \
SYSCALL_ENTRY( NtGetWriteWatch ) \
SYSCALL_ENTRY( NtImpersonateAnonymousToken ) \
SYSCALL_ENTRY( NtInitializeNlsFiles ) \
SYSCALL_ENTRY( NtInitiatePowerAction ) \
SYSCALL_ENTRY( NtIsProcessInJob ) \
SYSCALL_ENTRY( NtListenPort ) \
...
...
dlls/wow64/virtual.c
View file @
4258f982
...
...
@@ -209,6 +209,24 @@ NTSTATUS WINAPI wow64_NtGetWriteWatch( UINT *args )
/**********************************************************************
* wow64_NtInitializeNlsFiles
*/
NTSTATUS
WINAPI
wow64_NtInitializeNlsFiles
(
UINT
*
args
)
{
ULONG
*
addr32
=
get_ptr
(
&
args
);
LCID
*
lcid
=
get_ptr
(
&
args
);
LARGE_INTEGER
*
size
=
get_ptr
(
&
args
);
void
*
addr
;
NTSTATUS
status
;
status
=
NtInitializeNlsFiles
(
addr_32to64
(
&
addr
,
addr32
),
lcid
,
size
);
if
(
!
status
)
put_addr
(
addr32
,
addr
);
return
status
;
}
/**********************************************************************
* wow64_NtLockVirtualMemory
*/
NTSTATUS
WINAPI
wow64_NtLockVirtualMemory
(
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