Module: wine Branch: master Commit: 63a781de1d245a0ff33d313cb0c414fc31778d78 URL: https://gitlab.winehq.org/wine/wine/-/commit/63a781de1d245a0ff33d313cb0c414f...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 7 17:24:55 2023 +0100
wow64: Declare exported functions in winternl.h.
---
dlls/wow64/wow64_private.h | 4 ---- dlls/wow64win/wow64win_private.h | 4 ---- include/winternl.h | 8 ++++++++ 3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/wow64/wow64_private.h b/dlls/wow64/wow64_private.h index f2c405bb2c6..7eef4da3ad9 100644 --- a/dlls/wow64/wow64_private.h +++ b/dlls/wow64/wow64_private.h @@ -28,10 +28,6 @@ ALL_SYSCALLS #undef SYSCALL_ENTRY
-void * WINAPI Wow64AllocateTemp( SIZE_T size ); -void WINAPI Wow64ApcRoutine( ULONG_PTR arg1, ULONG_PTR arg2, ULONG_PTR arg3, CONTEXT *context ); -void WINAPI Wow64PassExceptionToGuest( EXCEPTION_POINTERS *ptrs ); - extern void init_image_mapping( HMODULE module ) DECLSPEC_HIDDEN; extern void init_file_redirects(void) DECLSPEC_HIDDEN; extern BOOL get_file_redirect( OBJECT_ATTRIBUTES *attr ) DECLSPEC_HIDDEN; diff --git a/dlls/wow64win/wow64win_private.h b/dlls/wow64win/wow64win_private.h index 643875c69ce..76e0c98f0f0 100644 --- a/dlls/wow64win/wow64win_private.h +++ b/dlls/wow64win/wow64win_private.h @@ -30,10 +30,6 @@ ALL_WIN32_SYSCALLS typedef NTSTATUS (WINAPI *user_callback)( void *params, ULONG size ); extern user_callback user_callbacks[] DECLSPEC_HIDDEN;
-void * WINAPI Wow64AllocateTemp( SIZE_T size ); -NTSTATUS WINAPI Wow64KiUserCallbackDispatcher( ULONG id, void *args, ULONG len, - void **ret_ptr, ULONG *ret_len ); - struct object_attr64 { OBJECT_ATTRIBUTES attr; diff --git a/include/winternl.h b/include/winternl.h index f2992b82857..5a21f167d61 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -3855,6 +3855,14 @@ typedef struct _WOW64_CPU_AREA_INFO USHORT Machine; } WOW64_CPU_AREA_INFO, *PWOW64_CPU_AREA_INFO;
+/* wow64.dll functions */ +void * WINAPI Wow64AllocateTemp(SIZE_T); +void WINAPI Wow64ApcRoutine(ULONG_PTR,ULONG_PTR,ULONG_PTR,CONTEXT*); +NTSTATUS WINAPI Wow64KiUserCallbackDispatcher(ULONG,void*,ULONG,void**,ULONG*); +void WINAPI Wow64PassExceptionToGuest(EXCEPTION_POINTERS*); +void WINAPI Wow64PrepareForException(EXCEPTION_RECORD*,CONTEXT*); +NTSTATUS WINAPI Wow64SystemServiceEx(UINT,UINT*); + #ifdef __WINESRC__ /* undocumented layout of LdrSystemDllInitBlock */ /* this varies across Windows version; we are using the win10-2004 layout */