#include "WheatyExceptionReport.h"
#include "Errors.h"
#include "GitRevision.h"
#include <algorithm>
#include <ehdata.h>
#include <rttidata.h>
#include <tlhelp32.h>
#include <tchar.h>
#include <comdef.h>
#include <WbemIdl.h>
Go to the source code of this file.
|
#define | CrashFolder _T("Crashes") |
|
#define | EXCEPTION(x) case EXCEPTION_##x: return _T(#x); |
|
#define | REG_L(x) ((BYTE)(((DWORD_PTR)(x)) & 0xff)) |
|
#define | REG_H(x) ((BYTE)((((DWORD_PTR)(x)) >> 8) & 0xff)) |
|
#define | REG_X(x) ((WORD)(((DWORD_PTR)(x)) & 0xffff)) |
|
#define | REG_E(x) ((DWORD)(((DWORD_PTR)(x)) & 0xffffffff)) |
|
#define | REG_R(x) ((DWORD64)(((DWORD_PTR)(x)) & 0xffffffffffffffff)) |
|
#define | CPU_REG(reg, field, part) case reg: return part(context->field); |
|
|
LPTSTR | ErrorMessage (DWORD dw) |
|
template<size_t size> |
void | ToTchar (wchar_t const *src, TCHAR(&dst)[size]) |
|
◆ CPU_REG
#define CPU_REG |
( |
|
reg, |
|
|
|
field, |
|
|
|
part |
|
) |
| case reg: return part(context->field); |
◆ CrashFolder
#define CrashFolder _T("Crashes") |
◆ EXCEPTION
#define EXCEPTION |
( |
|
x | ) |
case EXCEPTION_##x: return _T(#x); |
◆ REG_E
#define REG_E |
( |
|
x | ) |
((DWORD)(((DWORD_PTR)(x)) & 0xffffffff)) |
◆ REG_H
#define REG_H |
( |
|
x | ) |
((BYTE)((((DWORD_PTR)(x)) >> 8) & 0xff)) |
◆ REG_L
#define REG_L |
( |
|
x | ) |
((BYTE)(((DWORD_PTR)(x)) & 0xff)) |
◆ REG_R
#define REG_R |
( |
|
x | ) |
((DWORD64)(((DWORD_PTR)(x)) & 0xffffffffffffffff)) |
◆ REG_X
#define REG_X |
( |
|
x | ) |
((WORD)(((DWORD_PTR)(x)) & 0xffff)) |
◆ ErrorMessage()
LPTSTR ErrorMessage |
( |
DWORD |
dw | ) |
|
|
inline |
◆ ToTchar()
template<size_t size>
void ToTchar |
( |
wchar_t const * |
src, |
|
|
TCHAR(&) |
dst[size] |
|
) |
| |
◆ g_WheatyExceptionReport