NTDLL: use nt status codes for exceptions

Mike McCormack mike at codeweavers.com
Sat Jun 25 02:21:19 CDT 2005


ChangeLog:
* use nt status codes for exceptions
-------------- next part --------------
Index: dlls/ntdll/exception.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/exception.c,v
retrieving revision 1.79
diff -u -p -r1.79 exception.c
--- dlls/ntdll/exception.c	21 Jun 2005 09:52:41 -0000	1.79
+++ dlls/ntdll/exception.c	25 Jun 2005 07:23:19 -0000
@@ -210,7 +210,7 @@ static void EXC_DefaultHandling( EXCEPTI
 
     if (rec->ExceptionFlags & EH_STACK_INVALID)
         ERR("Exception frame is not in stack limits => unable to dispatch exception.\n");
-    else if (rec->ExceptionCode == EXCEPTION_NONCONTINUABLE_EXCEPTION)
+    else if (rec->ExceptionCode == STATUS_NONCONTINUABLE_EXCEPTION)
         ERR("Process attempted to continue execution after noncontinuable exception.\n");
     else
         ERR("Unhandled exception code %lx flags %lx addr %p\n",


More information about the wine-patches mailing list