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

Method AddHandler

IntelPresentMon/Core/source/win/EventHookManager.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 using namespace ::pmon::util;
9
10 EventHookManager::Token EventHookManager::AddHandler(std::shared_ptr<EventHookHandler> pHandler)
11 {
12 return { Get().AddHandlerInternal(pHandler) };
13 }
14 HWINEVENTHOOK EventHookManager::AddHandlerInternal(std::shared_ptr<EventHookHandler> pHandler)
15 {
16 const auto filter = pHandler->GetFilter();

Callers

nothing calls this directly

Calls 1

AddHandlerInternalMethod · 0.80

Tested by

no test coverage detected