2 * $Logfile: /Freespace2/code/ExceptionHandler/ExceptionHandler.h $
7 * Header file for program exception handling
10 * Revision 1.2 2002/06/01 07:12:32 relnev
11 * a few NDEBUG updates.
13 * removed a few warnings.
15 * Revision 1.1.1.1 2002/05/03 03:28:11 root
19 * 1 6/29/99 7:42p Dave
21 * 2 1/18/99 4:34p Allender
22 * added the exception handler routines from Game Developer for structured
23 * exception handling in vsdk code
29 #pragma once // Include this file only once
32 #ifndef __EXCEPTION_HANDLER_H
33 #define __EXCEPTION_HANDLER_H
35 // --------------------
39 // --------------------
42 // --------------------
46 // --------------------
49 // --------------------
53 // --------------------
55 // this is a forward declaration so we don't need to include windows.h
57 typedef struct _EXCEPTION_POINTERS EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
59 // --------------------
63 // --------------------
66 // --------------------
70 // --------------------
73 // --------------------
77 // --------------------
79 int __cdecl RecordExceptionInfo(PEXCEPTION_POINTERS data, const char *Message);
81 // --------------------
85 // --------------------
88 #endif // __EXCEPTION_HANDLER_H