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
de9f285e
Commit
de9f285e
authored
Jul 22, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64: Add thunks for the atom syscalls.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e8984787
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
syscall.c
dlls/wow64/syscall.c
+53
-0
syscall.h
dlls/wow64/syscall.h
+4
-0
No files found.
dlls/wow64/syscall.c
View file @
de9f285e
...
...
@@ -79,6 +79,19 @@ void __cdecl __wine_spec_unimplemented_stub( const char *module, const char *fun
/**********************************************************************
* wow64_NtAddAtom
*/
NTSTATUS
WINAPI
wow64_NtAddAtom
(
UINT
*
args
)
{
const
WCHAR
*
name
=
get_ptr
(
&
args
);
ULONG
len
=
get_ulong
(
&
args
);
RTL_ATOM
*
atom
=
get_ptr
(
&
args
);
return
NtAddAtom
(
name
,
len
,
atom
);
}
/**********************************************************************
* wow64_NtAllocateLocallyUniqueId
*/
NTSTATUS
WINAPI
wow64_NtAllocateLocallyUniqueId
(
UINT
*
args
)
...
...
@@ -115,6 +128,30 @@ NTSTATUS WINAPI wow64_NtClose( UINT *args )
/**********************************************************************
* wow64_NtDeleteAtom
*/
NTSTATUS
WINAPI
wow64_NtDeleteAtom
(
UINT
*
args
)
{
RTL_ATOM
atom
=
get_ulong
(
&
args
);
return
NtDeleteAtom
(
atom
);
}
/**********************************************************************
* wow64_NtFindAtom
*/
NTSTATUS
WINAPI
wow64_NtFindAtom
(
UINT
*
args
)
{
const
WCHAR
*
name
=
get_ptr
(
&
args
);
ULONG
len
=
get_ulong
(
&
args
);
RTL_ATOM
*
atom
=
get_ptr
(
&
args
);
return
NtFindAtom
(
name
,
len
,
atom
);
}
/**********************************************************************
* wow64_NtGetCurrentProcessorNumber
*/
NTSTATUS
WINAPI
wow64_NtGetCurrentProcessorNumber
(
UINT
*
args
)
...
...
@@ -147,6 +184,22 @@ NTSTATUS WINAPI wow64_NtQueryDefaultUILanguage( UINT *args )
/**********************************************************************
* wow64_NtQueryInformationAtom
*/
NTSTATUS
WINAPI
wow64_NtQueryInformationAtom
(
UINT
*
args
)
{
RTL_ATOM
atom
=
get_ulong
(
&
args
);
ATOM_INFORMATION_CLASS
class
=
get_ulong
(
&
args
);
void
*
info
=
get_ptr
(
&
args
);
ULONG
len
=
get_ulong
(
&
args
);
ULONG
*
retlen
=
get_ptr
(
&
args
);
if
(
class
!=
AtomBasicInformation
)
FIXME
(
"class %u not supported
\n
"
,
class
);
return
NtQueryInformationAtom
(
atom
,
class
,
info
,
len
,
retlen
);
}
/**********************************************************************
* wow64_NtQueryInstallUILanguage
*/
NTSTATUS
WINAPI
wow64_NtQueryInstallUILanguage
(
UINT
*
args
)
...
...
dlls/wow64/syscall.h
View file @
de9f285e
...
...
@@ -22,12 +22,16 @@
#define __WOW64_SYSCALL_H
#define ALL_SYSCALLS \
SYSCALL_ENTRY( NtAddAtom ) \
SYSCALL_ENTRY( NtAllocateLocallyUniqueId ) \
SYSCALL_ENTRY( NtAllocateUuids ) \
SYSCALL_ENTRY( NtClose ) \
SYSCALL_ENTRY( NtDeleteAtom ) \
SYSCALL_ENTRY( NtFindAtom ) \
SYSCALL_ENTRY( NtGetCurrentProcessorNumber ) \
SYSCALL_ENTRY( NtQueryDefaultLocale ) \
SYSCALL_ENTRY( NtQueryDefaultUILanguage ) \
SYSCALL_ENTRY( NtQueryInformationAtom ) \
SYSCALL_ENTRY( NtQueryInstallUILanguage ) \
SYSCALL_ENTRY( NtSetDefaultLocale ) \
SYSCALL_ENTRY( NtSetDefaultUILanguage )
...
...
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