MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / GetMessagePos_Hook

Function GetMessagePos_Hook

src/injectables/WindowCaptureHook.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static DWORD WINAPI GetMessagePos_Hook() {
87 if (gInjectedPoint) {
88 return gInjectedPoint->mScreenPoint.x
89 + (gInjectedPoint->mScreenPoint.y << sizeof(DWORD) * 4);
90 }
91 return gPFN_GetMessagePos();
92}
93
94static HWND WINAPI GetFocus_Hook() {
95 if (ShouldInject()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected