#pragma once void InitialiseCrashHandler(); void RemoveCrashHandler(); struct BacktraceModule { std::string name; std::string relativeAddress; std::string address; }; struct ExceptionLog { std::string cause; HMODULE crashedModule; EXCEPTION_RECORD exceptionRecord; CONTEXT contextRecord; std::vector trace; std::vector registerDump; std::string runtimeInfo; int longestModuleNameLength; int longestRelativeAddressLength; };