2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/ExceptionHandler/ExceptionHandler.h $
15 * Header file for program exception handling
18 * Revision 1.3 2002/06/09 04:41:13 relnev
19 * added copyright header
21 * Revision 1.2 2002/06/01 07:12:32 relnev
22 * a few NDEBUG updates.
24 * removed a few warnings.
26 * Revision 1.1.1.1 2002/05/03 03:28:11 root
30 * 1 6/29/99 7:42p Dave
32 * 2 1/18/99 4:34p Allender
33 * added the exception handler routines from Game Developer for structured
34 * exception handling in vsdk code
40 #pragma once // Include this file only once
43 #ifndef __EXCEPTION_HANDLER_H
44 #define __EXCEPTION_HANDLER_H
46 // --------------------
50 // --------------------
53 // --------------------
57 // --------------------
60 // --------------------
64 // --------------------
66 // this is a forward declaration so we don't need to include windows.h
68 typedef struct _EXCEPTION_POINTERS EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
70 // --------------------
74 // --------------------
77 // --------------------
81 // --------------------
84 // --------------------
88 // --------------------
90 int __cdecl RecordExceptionInfo(PEXCEPTION_POINTERS data, const char *Message);
92 // --------------------
96 // --------------------
99 #endif // __EXCEPTION_HANDLER_H