68e3f3b513449f29d062d9a7ab51656e880578be
[reactos.git] / reactos / ntoskrnl / ke / catch.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/ke/catch.c
5 * PURPOSE: Exception handling
6 * PROGRAMMER: David Welch (welch@mcmail.com)
7 */
8
9 /* INCLUDES *****************************************************************/
10
11 #include <windows.h>
12 #include <ddk/ntddk.h>
13
14 #include <internal/debug.h>
15
16 /* FUNCTIONS ****************************************************************/
17
18 VOID ExRaiseStatus(NTSTATUS Status)
19 {
20 DbgPrint("ExRaiseStatus(%x)\n",Status);
21 for(;;);
22 }
23
24
25 NTSTATUS STDCALL NtRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
26 IN PCONTEXT Context,
27 IN BOOL IsDebugger OPTIONAL)
28 {
29 return(ZwRaiseException(ExceptionRecord,
30 Context,
31 IsDebugger));
32 }
33
34 NTSTATUS STDCALL ZwRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
35 IN PCONTEXT Context,
36 IN BOOL IsDebugger OPTIONAL)
37 {
38 UNIMPLEMENTED;
39 }