| 1 | #include "stdafx.h" |
| 2 | |
| 3 | [[noreturn]] |
| 4 | void Fail(TCHAR const * reason) |
| 5 | { |
| 6 | #if defined(_DEBUG) |
| 7 | DebugBreak(); |
| 8 | #endif |
| 9 | Debug(L"%s", reason); |
| 10 | MessageBoxW(NULL, reason, L"Osiris Extender Error", MB_OK | MB_ICONERROR); |
| 11 | TerminateProcess(GetCurrentProcess(), 1); |
| 12 | } |
| 13 | |
| 14 | [[noreturn]] |
| 15 | void Fail(char const * reason) |
no test coverage detected