F4MP/tiltedcode/Code/client/CrashHandler.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

17 lines
411 B
C++

#pragma once
class CrashHandler
{
PVOID m_handler;
static LPTOP_LEVEL_EXCEPTION_FILTER m_pUnhandled; // For remembering "original" UnhandledExceptionFilter
public:
CrashHandler();
~CrashHandler();
static void RemovePreviousDump(std::filesystem::path path);
static inline LPTOP_LEVEL_EXCEPTION_FILTER GetOriginalUnhandledExceptionFilter()
{
return m_pUnhandled;
}
};