Alexandre Julliard : ntdll: Use NtSetContextThread in
NtRaiseException.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Apr 20 08:46:20 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 2bfe47e85261f81091aa21b9212e5ff297156cc9
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2bfe47e85261f81091aa21b9212e5ff297156cc9
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Apr 20 15:40:42 2006 +0200
ntdll: Use NtSetContextThread in NtRaiseException.
---
dlls/ntdll/exception.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c
index 4444ba1..8b1fc68 100644
--- a/dlls/ntdll/exception.c
+++ b/dlls/ntdll/exception.c
@@ -77,8 +77,6 @@ #else
# error You must define GET_IP for this CPU
#endif
-extern void DECLSPEC_NORETURN __wine_call_from_32_restore_regs( const CONTEXT *context );
-
/*******************************************************************
* EXC_RaiseHandler
*
@@ -369,9 +367,7 @@ #endif
NTSTATUS WINAPI NtRaiseException( EXCEPTION_RECORD *rec, CONTEXT *context, BOOL first_chance )
{
NTSTATUS status = raise_exception( rec, context, first_chance );
-#ifdef DEFINE_REGS_ENTRYPOINT
- if (status == STATUS_SUCCESS) __wine_call_from_32_restore_regs( context );
-#endif
+ if (status == STATUS_SUCCESS) NtSetContextThread( GetCurrentThread(), context );
return status;
}
More information about the wine-cvs
mailing list