ExRaiseStatus() is now fatal back again as SEH is not needed for valid ops
authorshort <>
Wed, 30 Apr 2003 06:00:07 +0000 (06:00 +0000)
committershort <>
Wed, 30 Apr 2003 06:00:07 +0000 (06:00 +0000)
ntoskrnl/ke/catch.c

index 2e151de..36a80ce 100644 (file)
@@ -193,8 +193,6 @@ ExRaiseDatatypeMisalignment (VOID)
   ExRaiseStatus (STATUS_DATATYPE_MISALIGNMENT);
 }
 
   ExRaiseStatus (STATUS_DATATYPE_MISALIGNMENT);
 }
 
-#endif /* LIBCAPTIVE */
-
 VOID STDCALL
 ExRaiseStatus (IN NTSTATUS Status)
 {
 VOID STDCALL
 ExRaiseStatus (IN NTSTATUS Status)
 {
@@ -210,6 +208,7 @@ ExRaiseStatus (IN NTSTATUS Status)
   RtlRaiseException(&ExceptionRecord);
 }
 
   RtlRaiseException(&ExceptionRecord);
 }
 
+#endif /* LIBCAPTIVE */
 
 NTSTATUS STDCALL
 NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,
 
 NTSTATUS STDCALL
 NtRaiseException (IN PEXCEPTION_RECORD ExceptionRecord,