6 #ifndef _INC_cNTMiniDump_H
7 #define _INC_cNTMiniDump_H
12 #include "../GrayLibBase.h"
14 #if defined(_WIN32) && ! defined(UNDER_CE)
18 typedef struct _EXCEPTION_POINTERS EXCEPTION_POINTERS;
24 class GRAYLIB_LINK cNTMiniDump :
public cSingleton < cNTMiniDump >
30 friend class cSingleton < cNTMiniDump > ;
34 static LONG WINAPI UnhandledExceptionFilter(EXCEPTION_POINTERS* pExceptionInfo);
38 cNTMiniDump() : cSingleton<cNTMiniDump>(this, typeid(cNTMiniDump))
46 static void*
GRAYCALL InstallExceptionFilter();
49 static HRESULT GRAYCALL CreateExceptionDumpFile(
const FILECHAR_t* pszFilePath, EXCEPTION_POINTERS* pExceptionInfo =
nullptr);
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define CHEAPOBJECT_IMPL
Definition: cHeapObject.h:32
UNITTEST2_PREDEF(cQuadtree)
int StrLen_t
the length of a string in chars (bytes for UTF8, wchar_t for UNICODE). or offset in characters....
Definition: StrConst.h:32
cStringT< FILECHAR_t > cStringF
A file name. checks USE_UNICODE_FN. related to cFilePath.
Definition: cFilePath.h:17
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22