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

Method ThunkWndProc

IntelPresentMon/Core/source/win/WndClass.cpp:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 LRESULT WndClass::ThunkWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
90 {
91 // retrieve ptr to window instance
92 auto const pWnd = reinterpret_cast<Window*>(GetWindowLongPtrW(hWnd, GWLP_USERDATA));
93 // forward message to window instance handler
94 return pWnd->HandleMessage(msg, wParam, lParam);
95 }
96}

Callers

nothing calls this directly

Calls 1

HandleMessageMethod · 0.80

Tested by

no test coverage detected