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

Method Handle

IntelPresentMon/Core/source/kernel/WindowMoveHandler.cpp:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 void WindowMoveHandler::Handle(
20 HWINEVENTHOOK hook, DWORD event, HWND hWnd,
21 LONG idObject, LONG idChild,
22 DWORD dwEventThread, DWORD dwmsEventTime)
23 {
24 if (hWnd == proc.hWnd)
25 {
26 const auto tgtRect = win::GetWindowClientRect(hWnd);
27 pOverlay->UpdateTargetRect(tgtRect);
28 pOverlay->UpdateTargetFullscreenStatus();
29 }
30 }
31}

Callers 1

RouteWinEventMethod · 0.45

Calls 3

GetWindowClientRectFunction · 0.85
UpdateTargetRectMethod · 0.80

Tested by

no test coverage detected