From d1171c7d10f7c8fda64fe3e36fc626a6ebbb5748 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 23 Jul 2021 17:00:39 +0200 Subject: [PATCH] wow64: Add a stub for Wow64ApcRoutine(). Signed-off-by: Alexandre Julliard --- dlls/wow64/syscall.c | 9 +++++++++ dlls/wow64/wow64.spec | 2 +- dlls/wow64/wow64_private.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/wow64/syscall.c b/dlls/wow64/syscall.c index 5c9bc8d4f27..6803efbd7e9 100644 --- a/dlls/wow64/syscall.c +++ b/dlls/wow64/syscall.c @@ -398,6 +398,15 @@ NTSTATUS WINAPI Wow64SystemServiceEx( UINT num, UINT *args ) } +/********************************************************************** + * Wow64ApcRoutine (NTDLL.@) + */ +void WINAPI Wow64ApcRoutine( ULONG_PTR arg1, ULONG_PTR arg2, ULONG_PTR arg3, CONTEXT *context ) +{ + FIXME( "stub %lx %lx %lx\n", arg1, arg2, arg3 ); +} + + /********************************************************************** * Wow64LdrpInitialize (NTDLL.@) */ diff --git a/dlls/wow64/wow64.spec b/dlls/wow64/wow64.spec index a477b6b628a..8f188043556 100644 --- a/dlls/wow64/wow64.spec +++ b/dlls/wow64/wow64.spec @@ -1,7 +1,7 @@ @ stub Wow64AllocThreadHeap @ stub Wow64AllocateHeap @ stub Wow64AllocateTemp -@ stub Wow64ApcRoutine +@ stdcall Wow64ApcRoutine(long long long ptr) @ stub Wow64CheckIfNXEnabled @ stub Wow64EmulateAtlThunk @ stub Wow64FreeHeap diff --git a/dlls/wow64/wow64_private.h b/dlls/wow64/wow64_private.h index affd39df03b..5ec8ef9d847 100644 --- a/dlls/wow64/wow64_private.h +++ b/dlls/wow64/wow64_private.h @@ -28,6 +28,8 @@ ALL_SYSCALLS #undef SYSCALL_ENTRY +void WINAPI Wow64ApcRoutine( ULONG_PTR arg1, ULONG_PTR arg2, ULONG_PTR arg3, CONTEXT *context ) DECLSPEC_HIDDEN; + extern USHORT native_machine DECLSPEC_HIDDEN; extern USHORT current_machine DECLSPEC_HIDDEN;