mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
99 lines
1.8 KiB
C
99 lines
1.8 KiB
C
/*
|
|
* Copyright (C) Volition, Inc. 1999. All rights reserved.
|
|
*
|
|
* All source code herein is the property of Volition, Inc. You may not sell
|
|
* or otherwise commercially exploit the source or things you created based on the
|
|
* source.
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* $Logfile: /Freespace2/code/ExceptionHandler/ExceptionHandler.h $
|
|
* $Revision: 2.1 $
|
|
* $Date: 2002-07-07 19:55:58 $
|
|
* $Author: penguin $
|
|
*
|
|
* Header file for program exception handling
|
|
*
|
|
* $Log: not supported by cvs2svn $
|
|
* Revision 2.0 2002/06/03 04:02:22 penguin
|
|
* Warpcore CVS sync
|
|
*
|
|
* Revision 1.2 2002/05/07 02:58:10 mharris
|
|
* ifdef around pragma
|
|
*
|
|
* Revision 1.1 2002/05/02 18:03:05 mharris
|
|
* Initial checkin - converted filenames and includes to lower case
|
|
*
|
|
*
|
|
* 1 6/29/99 7:42p Dave
|
|
*
|
|
* 2 1/18/99 4:34p Allender
|
|
* added the exception handler routines from Game Developer for structured
|
|
* exception handling in vsdk code
|
|
*
|
|
* $NoKeywords: $
|
|
*/
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma once // Include this file only once
|
|
#endif
|
|
|
|
#ifndef __EXCEPTION_HANDLER_H
|
|
#define __EXCEPTION_HANDLER_H
|
|
|
|
// --------------------
|
|
//
|
|
// Defines
|
|
//
|
|
// --------------------
|
|
|
|
|
|
// --------------------
|
|
//
|
|
// Enumerated types
|
|
//
|
|
// --------------------
|
|
|
|
|
|
// --------------------
|
|
//
|
|
// Structures
|
|
//
|
|
// --------------------
|
|
|
|
// this is a forward declaration so we don't need to include windows.h
|
|
|
|
typedef struct _EXCEPTION_POINTERS EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
|
|
|
|
// --------------------
|
|
//
|
|
// Classes
|
|
//
|
|
// --------------------
|
|
|
|
|
|
// --------------------
|
|
//
|
|
// Variables
|
|
//
|
|
// --------------------
|
|
|
|
|
|
// --------------------
|
|
//
|
|
// Prototypes
|
|
//
|
|
// --------------------
|
|
|
|
int __cdecl RecordExceptionInfo(PEXCEPTION_POINTERS data, const char *Message);
|
|
|
|
// --------------------
|
|
//
|
|
// Helper Macros
|
|
//
|
|
// --------------------
|
|
|
|
|
|
#endif // __EXCEPTION_HANDLER_H
|