25 #ifdef BUGSPLAT_EXPORTS 26 #define MDS_EXPORT __declspec(dllexport) 28 #define MDS_EXPORT __declspec(dllimport) 51 __wchar_t
const *szApp,
52 __wchar_t
const *szVersion,
53 __wchar_t
const *szAppIdentifier = NULL,
60 bool enableExceptionFilter(
bool enable =
true);
63 bool isExceptionFilterEnabled()
const;
67 MiniDumpNormal = 0x00000000,
68 MiniDumpWithDataSegs = 0x00000001,
69 MiniDumpWithFullMemory = 0x00000002,
70 MiniDumpWithHandleData = 0x00000004,
71 MiniDumpFilterMemory = 0x00000008,
72 MiniDumpScanMemory = 0x00000010,
73 MiniDumpWithUnloadedModules = 0x00000020,
74 MiniDumpWithIndirectlyReferencedMemory = 0x00000040,
75 MiniDumpFilterModulePaths = 0x00000080,
76 MiniDumpWithProcessThreadData = 0x00000100,
77 MiniDumpWithPrivateReadWriteMemory = 0x00000200,
78 MiniDumpWithoutOptionalData = 0x00000400,
79 MiniDumpWithFullMemoryInfo = 0x00000800,
80 MiniDumpWithThreadInfo = 0x00001000,
81 MiniDumpWithCodeSegs = 0x00002000,
82 MiniDumpWithoutAuxiliaryState = 0x00004000,
83 MiniDumpWithFullAuxiliaryState = 0x00008000,
84 MiniDumpWithPrivateWriteCopyMemory = 0x00010000,
85 MiniDumpIgnoreInaccessibleMemory = 0x00020000,
86 MiniDumpWithTokenInformation = 0x00040000,
87 MiniDumpWithModuleHeaders = 0x00080000,
88 MiniDumpFilterTriage = 0x00100000,
89 MiniDumpWithAvxXStateContext = 0x00200000,
90 MiniDumpValidTypeFlags = 0x003fffff,
101 bool enableFullMemoryDumpAndExit(
bool enable =
true);
103 bool isFullMemoryDumpAndExitEnabled()
const;
106 bool setFlags( DWORD dwFlags );
108 DWORD getFlags()
const;
111 void resetVersionString(
const __wchar_t * wszVersion);
114 void resetAppIdentifier(
const __wchar_t * wszDescription);
117 void sendAdditionalFile(
const __wchar_t * wszPath);
120 bool removeAdditionalFile(
const __wchar_t * wszPath);
123 void setUserZipPath(
const __wchar_t * wszPath);
126 void setResourceDllPath(
const __wchar_t * wszPath);
129 void setDefaultUserName(
const __wchar_t * wszName);
132 void setDefaultUserEmail(
const __wchar_t * wszEmail);
135 void setDefaultUserDescription(
const __wchar_t * wszDescription);
139 void createReport(EXCEPTION_POINTERS * pExcepInfo);
141 void createReport(
const __wchar_t * wszStackTracePath);
146 LONG unhandledExceptionHandler( PEXCEPTION_POINTERS pExceptionInfo );
152 void getMinidumpPath(__wchar_t * buffer,
size_t len);
158 MiniDumper * m_pMiniDumper;
167 #define MDSF_NONINTERACTIVE 0x0001 171 #define MDSF_FORCEEXIT 0x0002 177 #define MDSF_PREVENTHIJACKING 0x0004 184 #define MDSF_DETECTHANGS 0x0008 189 #define MDSF_USEGUARDMEMORY 0x0010 195 #define MDSF_CUSTOMEXCEPTIONFILTER 0x0020 202 #define MDSF_SUSPENDALLTHREADS 0x0800 207 #define MDSF_LOGCONSOLE 0x1000 208 #define MDSF_LOGFILE 0x2000 209 #define MDSF_LOG_VERBOSE 0x4000 216 #define MDSCB_EXCEPTIONCODE 0x0050 void createReportAndExit()
Use to send a report and exit.
Definition: bugsplat.h:143
bool(__cdecl * MiniDmpSenderCallback)(UINT nCode, LPVOID lVal1, LPVOID lVal2)
Definition: bugsplat.h:36
_BS_MINIDUMP_TYPE
Definition: bugsplat.h:66
#define MDS_EXPORT
Definition: bugsplat.h:28
enum MiniDmpSender::_BS_MINIDUMP_TYPE BS_MINIDUMP_TYPE
The MiniDmpSender class is used to add BugSplat crash reporting to your app.
Definition: bugsplat.h:42