Show unhandled exceptions through VEH

This commit is contained in:
goaaats 2025-12-07 13:04:11 +01:00
parent caa869d3ac
commit b35faf13b5
5 changed files with 40 additions and 23 deletions

View file

@ -453,3 +453,9 @@ void veh::raise_external_event(const std::wstring& info)
wcsncpy_s(g_external_event_info, info.c_str(), info_size);
RaiseException(CUSTOM_EXCEPTION_EXTERNAL_EVENT, 0, 0, nullptr);
}
extern "C" __declspec(dllexport) void BootVehRaiseExternalEventW(LPCWSTR info)
{
const std::wstring info_wstr(info);
veh::raise_external_event(info_wstr);
}