2021-06-27 21:25:29 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: ExceptionWatcher.Win32.hpp
|
|
|
|
Date: 2021-6-12
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::Debug
|
|
|
|
{
|
|
|
|
void InitWin32();
|
2022-01-27 05:24:08 +00:00
|
|
|
|
2022-06-01 14:25:32 +00:00
|
|
|
#if defined(AU_CFG_ID_DEBUG) || defined(AU_CFG_ID_INTERNAL)
|
|
|
|
#define AU_ENABLE_NATIVE_MINIDUMP
|
2022-01-27 20:25:04 +00:00
|
|
|
void SaveMinidump(_EXCEPTION_POINTERS *ExceptionInfo, bool isFatal);
|
2022-01-27 05:24:08 +00:00
|
|
|
#endif
|
2022-06-01 14:25:32 +00:00
|
|
|
|
2022-01-27 08:14:48 +00:00
|
|
|
void BlackboxReport(_EXCEPTION_POINTERS *ExceptionInfo, bool isFatal);
|
2021-06-27 21:25:29 +00:00
|
|
|
}
|