Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygeneh.h
Go to the documentation of this file.
00001 /* 00002 * C++ exception handling facility 00003 * 00004 * Copyright 2000 Francois Gouget. 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 #ifndef __WINE_EH_H 00021 #define __WINE_EH_H 00022 #ifndef __WINE_USE_MSVCRT 00023 #define __WINE_USE_MSVCRT 00024 #endif 00025 00026 #if !defined(__cplusplus) && !defined(USE_MSVCRT_PREFIX) 00027 #error "eh.h is meant only for C++ applications" 00028 #endif 00029 00030 #ifndef MSVCRT 00031 # ifdef USE_MSVCRT_PREFIX 00032 # define MSVCRT(x) MSVCRT_##x 00033 # else 00034 # define MSVCRT(x) x 00035 # endif 00036 #endif 00037 00038 struct _EXCEPTION_POINTERS; 00039 00040 typedef void (*terminate_handler)(); 00041 typedef void (*terminate_function)(); 00042 typedef void (*unexpected_handler)(); 00043 typedef void (*unexpected_function)(); 00044 typedef void (*_se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info); 00045 00046 terminate_function MSVCRT(set_terminate)(terminate_function func); 00047 unexpected_function MSVCRT(set_unexpected)(unexpected_function func); 00048 _se_translator_function MSVCRT(_set_se_translator)(_se_translator_function func); 00049 00050 void MSVCRT(terminate)(); 00051 void MSVCRT(unexpected)(); 00052 00053 #endif /* __WINE_EH_H */ Generated on Fri May 25 2012 04:28:23 for ReactOS by
1.7.6.1
|