Invoke always our own exception handler if the exception wasn't handled. It prints...
authorHartmut Birr <osexpert@googlemail.com>
Tue, 30 Aug 2005 16:26:38 +0000 (16:26 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Tue, 30 Aug 2005 16:26:38 +0000 (16:26 +0000)
svn path=/trunk/; revision=17597

reactos/lib/kernel32/process/create.c

index 05bfd52..ccbcd5a 100644 (file)
@@ -36,10 +36,14 @@ _SEH_FILTER(BaseExceptionFilter)
         }
         _SEH_HANDLE
         {
-            ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo);
         }
         _SEH_END;
     }
+    if ((ExceptionDisposition == EXCEPTION_CONTINUE_SEARCH || ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER) &&
+        GlobalTopLevelExceptionFilter != UnhandledExceptionFilter)
+    {
+       ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo);
+    }
 
     return ExceptionDisposition;
 }