Alexandre Julliard : wow64win: Add missing syscall for NtUserGetClassName().
Alexandre Julliard
julliard at winehq.org
Mon Mar 21 17:20:25 CDT 2022
Module: wine
Branch: master
Commit: 65d0c15014d45552e9f069c6d8c38162c71c1be4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=65d0c15014d45552e9f069c6d8c38162c71c1be4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 21 16:13:56 2022 +0100
wow64win: Add missing syscall for NtUserGetClassName().
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wow64win/syscall.h | 1 +
dlls/wow64win/user.c | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/dlls/wow64win/syscall.h b/dlls/wow64win/syscall.h
index 007459457b2..a90c4c20d40 100644
--- a/dlls/wow64win/syscall.h
+++ b/dlls/wow64win/syscall.h
@@ -101,6 +101,7 @@
SYSCALL_ENTRY( NtUserFindExistingCursorIcon ) \
SYSCALL_ENTRY( NtUserGetAncestor ) \
SYSCALL_ENTRY( NtUserGetAtomName ) \
+ SYSCALL_ENTRY( NtUserGetClassName ) \
SYSCALL_ENTRY( NtUserGetClipboardFormatName ) \
SYSCALL_ENTRY( NtUserGetClipboardOwner ) \
SYSCALL_ENTRY( NtUserGetClipboardSequenceNumber ) \
diff --git a/dlls/wow64win/user.c b/dlls/wow64win/user.c
index fb237bfff47..9d957673ceb 100644
--- a/dlls/wow64win/user.c
+++ b/dlls/wow64win/user.c
@@ -199,6 +199,17 @@ NTSTATUS WINAPI wow64_NtUserGetAtomName( UINT *args )
return NtUserGetAtomName( atom, unicode_str_32to64( &str, str32 ));
}
+NTSTATUS WINAPI wow64_NtUserGetClassName( UINT *args )
+{
+ HWND hwnd = get_handle( &args );
+ BOOL real = get_ulong( &args );
+ UNICODE_STRING32 *str32 = get_ptr( &args );
+
+ UNICODE_STRING str;
+
+ return NtUserGetClassName( hwnd, real, unicode_str_32to64( &str, str32 ));
+}
+
NTSTATUS WINAPI wow64_NtUserGetAncestor( UINT *args )
{
HWND hwnd = get_handle( &args );
More information about the wine-cvs
mailing list