MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Initialize

Function Initialize

IntelPresentMon/FlashInjectorLibrary/Hooks/Hooks.cpp:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace GfxLayer::Hooks
8{
9 static void Initialize()
10 {
11 static bool s_Initialized = false;
12
13 if (!s_Initialized)
14 {
15 s_Initialized = true;
16 DetourRestoreAfterWith();
17 }
18 }
19
20 bool HookAPI(const std::string& name, PVOID* ppRealFn, PVOID pMineFn)
21 {

Callers 2

HookAPIFunction · 0.70
UnhookAPIFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected