ReactOS 0.4.16-dev-751-g45ed1a9
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 694 of file cpp.c.

695{
697 _se_translator_function previous = data->se_translator;
698 TRACE("(%p) returning %p\n",func,previous);
699 data->se_translator = func;
700 return previous;
701}
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLenum func
Definition: glext.h:6028
void(__cdecl * _se_translator_function)(unsigned int, struct _EXCEPTION_POINTERS *)
Definition: eh.h:29
thread_data_t * msvcrt_get_thread_data(void)
Definition: tls.c:31
#define TRACE(s)
Definition: solgame.cpp:4

◆ set_terminate()

terminate_function MSVCRT() set_terminate ( terminate_function  func)

Definition at line 642 of file cpp.c.

643{
645 terminate_function previous = data->terminate_handler;
646 TRACE("(%p) returning %p\n",func,previous);
647 data->terminate_handler = func;
648 return previous;
649}
void(__CRTDECL * terminate_function)(void)

◆ set_unexpected()

unexpected_function MSVCRT() set_unexpected ( unexpected_function  func)

Definition at line 672 of file cpp.c.

673{
675 unexpected_function previous = data->unexpected_handler;
676 TRACE("(%p) returning %p\n",func,previous);
677 data->unexpected_handler = func;
678 return previous;
679}
void(__cdecl * unexpected_function)(void)
Definition: eh.h:25

◆ terminate()

◆ unexpected()

void MSVCRT() unexpected ( )

Definition at line 726 of file cpp.c.

727{
729 if (data->unexpected_handler) data->unexpected_handler();
730 terminate();
731}
void CDECL terminate(void)
Definition: cpp.c:716