Commit de9f285e authored by Alexandre Julliard's avatar Alexandre Julliard

wow64: Add thunks for the atom syscalls.

parent e8984787
......@@ -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 )
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment