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

Function generateKeyMessageParam

cpp/webdriver-interactions/interactions.cpp:158–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158LPARAM generateKeyMessageParam(UINT scanCode, bool extended)
159{
160 LPARAM lparam = 1;
161 lparam |= scanCode << 16;
162 if (extended) {
163 lparam |= 1 << 24;
164 }
165
166 return lparam;
167}
168
169void backgroundKeyDown(HWND hwnd, HKL layout, BYTE keyboardState[256],
170 WORD keyCode, UINT scanCode, bool extended, int pause)

Callers 2

backgroundKeyDownFunction · 0.85
backgroundKeyUpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected