Pyrogenesis  trunk
Classes | Macros | Functions
wseh.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/os/win/wseh.h"
#include "lib/byte_order.h"
#include "lib/utf8.h"
#include "lib/sysdep/cpu.h"
#include "lib/sysdep/os/win/win.h"
#include "lib/sysdep/os/win/wutil.h"
#include "lib/sysdep/os/win/wdbg_sym.h"
#include <process.h>
Include dependency graph for wseh.cpp:

Classes

struct  XTypeInfo
 
struct  XTypeInfoArray
 
struct  XInfo
 

Macros

#define NEED_COOKIE_INIT
 

Functions

static bool IsCppException (const EXCEPTION_RECORD *er)
 
static const wchar_tGetCppExceptionDescription (const EXCEPTION_RECORD *er, wchar_t *description, size_t maxChars)
 
static const wchar_tGetSehExceptionDescription (const EXCEPTION_RECORD *er, wchar_t *description, size_t maxChars)
 
static const wchar_tGetExceptionDescription (const EXCEPTION_POINTERS *ep, wchar_t *description, size_t maxChars)
 
static void GetExceptionLocus (EXCEPTION_POINTERS *ep, wchar_t *file, int *line, wchar_t *func)
 
long __stdcall wseh_ExceptionFilter (struct _EXCEPTION_POINTERS *ep)
 

Macro Definition Documentation

#define NEED_COOKIE_INIT

Function Documentation

static const wchar_t* GetCppExceptionDescription ( const EXCEPTION_RECORD *  er,
wchar_t description,
size_t  maxChars 
)
static
Parameters
erAn exception record for which IsCppException returned true.
description
maxChars
static const wchar_t* GetExceptionDescription ( const EXCEPTION_POINTERS *  ep,
wchar_t description,
size_t  maxChars 
)
static
Returns
a description of the exception type and cause (in English).
static void GetExceptionLocus ( EXCEPTION_POINTERS *  ep,
wchar_t file,
int *  line,
wchar_t func 
)
static
static const wchar_t* GetSehExceptionDescription ( const EXCEPTION_RECORD *  er,
wchar_t description,
size_t  maxChars 
)
static
static bool IsCppException ( const EXCEPTION_RECORD *  er)
static
long __stdcall wseh_ExceptionFilter ( struct _EXCEPTION_POINTERS *  ep)