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

Method RouteWinEvent

IntelPresentMon/Core/source/win/EventHookManager.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 void EventHookManager::RouteWinEvent(HWINEVENTHOOK hook, DWORD event, HWND hWnd, LONG idObject, LONG idChild, DWORD dwEventThread, DWORD dwmsEventTime)
31 {
32 if (auto i = Get().handlerMap.find(hook); i != Get().handlerMap.end())
33 {
34 i->second->Handle(hook, event, hWnd, idObject, idChild, dwEventThread, dwmsEventTime);
35 }
36 else
37 {
38 pmlog_warn("Received unhandled win hook callback invocation");
39 }
40 }
41
42 EventHookManager& EventHookManager::Get()
43 {

Callers

nothing calls this directly

Calls 2

endMethod · 0.45
HandleMethod · 0.45

Tested by

no test coverage detected