MCPcopy Create free account
hub / github.com/Norbyte/ositools / Fail

Function Fail

OsiInterface/Utils.cpp:3–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "stdafx.h"
2
3[[noreturn]]
4void 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]]
15void Fail(char const * reason)

Callers 15

FindEoCPluginMethod · 0.70
DxgiWrapperMethod · 0.70
CreateDXGIFactory1Method · 0.70
CreateDXGIFactory2Method · 0.70
MakeLogFilePathMethod · 0.70
ResolveNodeVMTsMethod · 0.70
ROWriteAnchorMethod · 0.70
~ROWriteAnchorMethod · 0.70
GetTypeMethod · 0.70

Calls 1

DebugFunction · 0.85

Tested by

no test coverage detected