Nebula
Loading...
Searching...
No Matches
win32minidump.h
Go to the documentation of this file.
1#pragma once
2#ifndef WIN32_WIN32MINIDUMP_H
3#define WIN32_WIN32MINIDUMP_H
4//------------------------------------------------------------------------------
14#include "core/types.h"
15#include "util/string.h"
16
17//------------------------------------------------------------------------------
18namespace Win32
19{
21{
22public:
24 static void Setup();
26 static bool WriteMiniDump();
27
28private:
30 static bool WriteMiniDumpInternal(EXCEPTION_POINTERS* exceptionInfo);
34 static LONG WINAPI ExceptionCallback(EXCEPTION_POINTERS* exceptionInfo);
35};
36
37} // namespace Win32
38//------------------------------------------------------------------------------
39#endif
Win32 implementation of MiniDump.
Definition win32minidump.h:21
static bool WriteMiniDumpInternal(EXCEPTION_POINTERS *exceptionInfo)
internal mini-dump-writer method with extra exception info
Definition win32minidump.cc:41
static void Setup()
setup the the Win32 exception callback hook
Definition win32minidump.cc:18
static LONG WINAPI ExceptionCallback(EXCEPTION_POINTERS *exceptionInfo)
the actual exception handler function called back by Windows
Definition win32minidump.cc:118
static bool WriteMiniDump()
write a mini dump
Definition win32minidump.cc:29
static Util::String BuildMiniDumpFilename()
build a filename for the dump file
Definition win32minidump.cc:85
[TODO: Describe Win32 subsystem]
Nebula's universal string class.
Definition string.h:50