| 67 | } |
| 68 | |
| 69 | static BOOL WINAPI GetCursorPos_Hook(LPPOINT lpPoint) { |
| 70 | if (gInjectedPoint) { |
| 71 | *lpPoint = gInjectedPoint->mScreenPoint; |
| 72 | return TRUE; |
| 73 | } |
| 74 | return gPFN_GetCursorPos(lpPoint); |
| 75 | } |
| 76 | |
| 77 | static BOOL WINAPI GetPhysicalCursorPos_Hook(LPPOINT lpPoint) { |
| 78 | // TODO: test with multiple DPIs |
nothing calls this directly
no outgoing calls
no test coverage detected