| 117 | } |
| 118 | |
| 119 | void GetMouseState(int * x, int * y, void* unused) |
| 120 | { |
| 121 | #if !defined(_WIN32) |
| 122 | nullcThrowError("GetMouseState: supported only under Windows"); |
| 123 | #else |
| 124 | POINT pos; |
| 125 | GetCursorPos(&pos); |
| 126 | *x = pos.x; |
| 127 | *y = pos.y; |
| 128 | #endif |
| 129 | } |
| 130 |
nothing calls this directly
no test coverage detected