Alexandre Julliard : wow64win: Add missing syscall for NtUserGetAtomName().

Alexandre Julliard julliard at winehq.org
Mon Mar 21 17:20:25 CDT 2022


Module: wine
Branch: master
Commit: 90139001d401ca98abf9699ee51daf649e9c52a8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=90139001d401ca98abf9699ee51daf649e9c52a8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar 21 16:13:30 2022 +0100

wow64win: Add missing syscall for NtUserGetAtomName().

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wow64win/syscall.h |  1 +
 dlls/wow64win/user.c    | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/dlls/wow64win/syscall.h b/dlls/wow64win/syscall.h
index 7b6bbb5eda6..007459457b2 100644
--- a/dlls/wow64win/syscall.h
+++ b/dlls/wow64win/syscall.h
@@ -100,6 +100,7 @@
     SYSCALL_ENTRY( NtUserDestroyAcceleratorTable ) \
     SYSCALL_ENTRY( NtUserFindExistingCursorIcon ) \
     SYSCALL_ENTRY( NtUserGetAncestor ) \
+    SYSCALL_ENTRY( NtUserGetAtomName ) \
     SYSCALL_ENTRY( NtUserGetClipboardFormatName ) \
     SYSCALL_ENTRY( NtUserGetClipboardOwner ) \
     SYSCALL_ENTRY( NtUserGetClipboardSequenceNumber ) \
diff --git a/dlls/wow64win/user.c b/dlls/wow64win/user.c
index 1a43b4793fb..fb237bfff47 100644
--- a/dlls/wow64win/user.c
+++ b/dlls/wow64win/user.c
@@ -189,6 +189,16 @@ NTSTATUS WINAPI wow64_NtUserRemoveProp( UINT *args )
     return HandleToUlong( NtUserRemoveProp( hwnd, str ));
 }
 
+NTSTATUS WINAPI wow64_NtUserGetAtomName( UINT *args )
+{
+    ATOM atom = get_ulong( &args );
+    UNICODE_STRING32 *str32 = get_ptr( &args );
+
+    UNICODE_STRING str;
+
+    return NtUserGetAtomName( atom, unicode_str_32to64( &str, str32 ));
+}
+
 NTSTATUS WINAPI wow64_NtUserGetAncestor( UINT *args )
 {
     HWND hwnd = get_handle( &args );




More information about the wine-cvs mailing list