wow64: Declare exported functions in winternl.h.

This commit is contained in:
Alexandre Julliard 2023-03-07 17:24:55 +01:00
parent c244fe3d27
commit 63a781de1d
3 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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 */