| 84 | } |
| 85 | |
| 86 | static 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 | |
| 94 | static HWND WINAPI GetFocus_Hook() { |
| 95 | if (ShouldInject()) { |
nothing calls this directly
no outgoing calls
no test coverage detected