2 * $Logfile: /Freespace2/code/ExceptionHandler/ExceptionHandler.h $
7 * Header file for program exception handling
10 * Revision 1.1 2002/05/03 03:28:11 root
14 * 1 6/29/99 7:42p Dave
16 * 2 1/18/99 4:34p Allender
17 * added the exception handler routines from Game Developer for structured
18 * exception handling in vsdk code
23 #pragma once // Include this file only once
25 #ifndef __EXCEPTION_HANDLER_H
26 #define __EXCEPTION_HANDLER_H
28 // --------------------
32 // --------------------
35 // --------------------
39 // --------------------
42 // --------------------
46 // --------------------
48 // this is a forward declaration so we don't need to include windows.h
50 typedef struct _EXCEPTION_POINTERS EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
52 // --------------------
56 // --------------------
59 // --------------------
63 // --------------------
66 // --------------------
70 // --------------------
72 int __cdecl RecordExceptionInfo(PEXCEPTION_POINTERS data, const char *Message);
74 // --------------------
78 // --------------------
81 #endif // __EXCEPTION_HANDLER_H