| 259 | } |
| 260 | |
| 261 | LRESULT CALLBACK GetMessageProc(int nCode, WPARAM wParam, LPARAM lParam) |
| 262 | { |
| 263 | if ((nCode == HC_ACTION) && (wParam == PM_REMOVE)) { |
| 264 | MSG* msg = reinterpret_cast<MSG*>(lParam); |
| 265 | if (msg->message == WM_USER && msg->wParam == 1234 && msg->lParam == 5678) { |
| 266 | pressed = true; |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | return CallNextHookEx(hook, nCode, wParam, lParam); |
| 271 | } |
| 272 | |
| 273 | bool isClearAllModifiersCode(wchar_t c) |
| 274 | { |
nothing calls this directly
no outgoing calls
no test coverage detected