mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-17 13:57:05 +02:00
13 lines
472 B
C++
13 lines
472 B
C++
#pragma once
|
|
#include <Windows.h>
|
|
#include <filesystem>
|
|
|
|
namespace dingosdk::backtrace {
|
|
enum class StartResult { disabled, ready, failed };
|
|
// Called outside DllMain. A missing endpoint or RESKATE_CRASH_REPORTING=0 disables reporting.
|
|
StartResult start(const std::filesystem::path& log_directory) noexcept;
|
|
void stop() noexcept;
|
|
// Last-chance path: only signals the prestarted helper and waits at most 15 seconds.
|
|
void capture(EXCEPTION_POINTERS* exception) noexcept;
|
|
}
|