Commit 72ace07c authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Pass an extra context arguments to APC functions on 64-bit.

parent 8e01e876
...@@ -552,10 +552,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte ...@@ -552,10 +552,10 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
/******************************************************************* /*******************************************************************
* KiUserApcDispatcher (NTDLL.@) * KiUserApcDispatcher (NTDLL.@)
*/ */
void WINAPI KiUserApcDispatcher( CONTEXT *context, ULONG_PTR ctx, ULONG_PTR arg1, ULONG_PTR arg2, void WINAPI KiUserApcDispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR arg2, ULONG_PTR arg3,
PNTAPCFUNC func ) void (CALLBACK *func)(ULONG_PTR,ULONG_PTR,ULONG_PTR,CONTEXT*) )
{ {
func( ctx, arg1, arg2 ); func( arg1, arg2, arg3, context );
NtContinue( context, TRUE ); NtContinue( context, TRUE );
} }
......
...@@ -597,10 +597,10 @@ __ASM_GLOBAL_FUNC( KiUserExceptionDispatcher, ...@@ -597,10 +597,10 @@ __ASM_GLOBAL_FUNC( KiUserExceptionDispatcher,
/******************************************************************* /*******************************************************************
* KiUserApcDispatcher (NTDLL.@) * KiUserApcDispatcher (NTDLL.@)
*/ */
void WINAPI dispatch_apc( CONTEXT *context, ULONG_PTR ctx, ULONG_PTR arg1, ULONG_PTR arg2, void WINAPI dispatch_apc( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR arg2, ULONG_PTR arg3,
PNTAPCFUNC func ) void (CALLBACK *func)(ULONG_PTR,ULONG_PTR,ULONG_PTR,CONTEXT*) )
{ {
func( ctx, arg1, arg2 ); func( arg1, arg2, arg3, context );
NtContinue( context, TRUE ); NtContinue( context, TRUE );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment