Lines Matching refs:records
81 BOOL is_wsl, INPUT_RECORD* records) {
82 # define KEV(I) records[(I)].Event.KeyEvent
87 records[0].EventType = records[1].EventType = KEY_EVENT;
140 INPUT_RECORD records[2];
177 make_key_event_records(VK_F1, 0, TRUE, records);
178 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
179 ASSERT_EQ(written, ARRAY_SIZE(records));
193 INPUT_RECORD records[2];
231 make_key_event_records(L'A', LEFT_ALT_PRESSED, FALSE, records);
232 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
241 make_key_event_records(L'A', LEFT_ALT_PRESSED, TRUE, records);
242 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
259 INPUT_RECORD records[2];
297 make_key_event_records(VK_NUMPAD0, LEFT_ALT_PRESSED, FALSE, records);
298 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
299 ASSERT_EQ(written, ARRAY_SIZE(records));
300 make_key_event_records(VK_NUMPAD1, LEFT_ALT_PRESSED, FALSE, records);
301 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
302 ASSERT_EQ(written, ARRAY_SIZE(records));
303 make_key_event_records(VK_NUMPAD2, LEFT_ALT_PRESSED, FALSE, records);
304 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
305 ASSERT_EQ(written, ARRAY_SIZE(records));
306 make_key_event_records(VK_NUMPAD8, LEFT_ALT_PRESSED, FALSE, records);
307 WriteConsoleInputW(handle, records, ARRAY_SIZE(records), &written);
308 ASSERT_EQ(written, ARRAY_SIZE(records));