MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / GetMessageProc

Function GetMessageProc

cpp/webdriver-interactions/interactions.cpp:261–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261LRESULT 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
273bool isClearAllModifiersCode(wchar_t c)
274{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected