ReactOS 0.4.16-dev-2104-gb84fa49
eh.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __WINE_USE_MSVCRT
 
#define MSVCRT(x)   x
 

Typedefs

typedef void(* terminate_handler) ()
 
typedef void(* terminate_function) ()
 
typedef void(* unexpected_handler) ()
 
typedef void(* unexpected_function) ()
 
typedef void(* _se_translator_function) (unsigned int code, struct _EXCEPTION_POINTERS *info)
 

Functions

terminate_function MSVCRT() set_terminate (terminate_function func)
 
unexpected_function MSVCRT() set_unexpected (unexpected_function func)
 
_se_translator_function MSVCRT() _set_se_translator (_se_translator_function func)
 
void MSVCRT() terminate ()
 
void MSVCRT() unexpected ()
 

Macro Definition Documentation

◆ __WINE_USE_MSVCRT

#define __WINE_USE_MSVCRT

Definition at line 23 of file eh.h.

◆ MSVCRT

#define MSVCRT (   x)    x

Definition at line 34 of file eh.h.

Typedef Documentation

◆ _se_translator_function

typedef void(* _se_translator_function) (unsigned int code, struct _EXCEPTION_POINTERS *info)

Definition at line 44 of file eh.h.

◆ terminate_function

typedef void(* terminate_function) ()

Definition at line 41 of file eh.h.

◆ terminate_handler

typedef void(* terminate_handler) ()

Definition at line 40 of file eh.h.

◆ unexpected_function

typedef void(* unexpected_function) ()

Definition at line 43 of file eh.h.

◆ unexpected_handler

typedef void(* unexpected_handler) ()

Definition at line 42 of file eh.h.

Function Documentation

◆ _set_se_translator()

_se_translator_function MSVCRT() _set_se_translator ( _se_translator_function  func)

Definition at line 676 of file cpp.c.

677{
679 _se_translator_function previous = data->se_translator;
680 TRACE("(%p) returning %p\n",func,previous);
681 data->se_translator = func;
682 return previous;
683}
void(__cdecl * _se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info)
Definition: eh.h:37
thread_data_t *CDECL msvcrt_get_thread_data(void)
Definition: thread.c:45
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLenum func
Definition: glext.h:6028
#define TRACE(s)
Definition: solgame.cpp:4

◆ set_terminate()

terminate_function MSVCRT() set_terminate ( terminate_function  func)

Definition at line 624 of file cpp.c.

625{
627 terminate_function previous = data->terminate_handler;
628 TRACE("(%p) returning %p\n",func,previous);
629 data->terminate_handler = func;
630 return previous;
631}
void(__cdecl * terminate_function)(void)
Definition: eh.h:34

Referenced by main(), and Terminate1().

◆ set_unexpected()

unexpected_function MSVCRT() set_unexpected ( unexpected_function  func)

Definition at line 654 of file cpp.c.

655{
657 unexpected_function previous = data->unexpected_handler;
658 TRACE("(%p) returning %p\n",func,previous);
659 data->unexpected_handler = func;
660 return previous;
661}
void(__cdecl * unexpected_function)(void)
Definition: eh.h:36

◆ terminate()

void MSVCRT() terminate ( )

Definition at line 698 of file cpp.c.

699{
701 if (data->terminate_handler) data->terminate_handler();
702 abort();
703}
#define abort()
Definition: i386-dis.c:34

◆ unexpected()

void MSVCRT() unexpected ( )

Definition at line 708 of file cpp.c.

709{
711 if (data->unexpected_handler) data->unexpected_handler();
712 terminate();
713}
void CDECL terminate(void)
Definition: cpp.c:698