Home
last modified time | relevance | path

Searched refs:InputRecord (Results 1 – 8 of 8) sorted by relevance

/reactos/win32ss/user/winsrv/consrv/condrv/
H A Dconinput.c59 if (InputRecord->EventType == MOUSE_EVENT && in AddInputEvents()
77 InputRecord->Event.KeyEvent.bKeyDown) in AddInputEvents()
124 PINPUT_RECORD InputRecord; in AddInputEvents() local
130 InputRecord = InputRecords++; in AddInputEvents()
135 InputRecord = InputRecords--; in AddInputEvents()
147 ConInRec->InputEvent = *InputRecord; in AddInputEvents()
281 ASSERT((InputRecord != NULL) || (InputRecord == NULL && NumEventsToRead == 0)); in ConDrvGetConsoleInput()
301 *InputRecord = Input->InputEvent; in ConDrvGetConsoleInput()
303 ++InputRecord; in ConDrvGetConsoleInput()
342 ASSERT((InputRecord != NULL) || (InputRecord == NULL && NumEventsToWrite == 0)); in ConDrvWriteConsoleInput()
[all …]
H A Dtext.c354 IN PINPUT_RECORD InputRecord,
/reactos/modules/rosapps/applications/sysutils/regexpl/
H A DConsole.cpp175 INPUT_RECORD InputRecord; in Write() local
182 if (InputRecord.EventType != KEY_EVENT) in Write()
184 if (!InputRecord.Event.KeyEvent.bKeyDown) in Write()
293 INPUT_RECORD InputRecord; in ReadLine() local
298 if (InputRecord.EventType != KEY_EVENT) continue; in ReadLine()
299 if (!InputRecord.Event.KeyEvent.bKeyDown) continue; in ReadLine()
850 ASSERT(InputRecord.Event.KeyEvent.wRepeatCount); in ReadLine()
1067 INPUT_RECORD InputRecord; in DisableWrite() local
1069 InputRecord.EventType = KEY_EVENT; in DisableWrite()
1070 InputRecord.Event.KeyEvent.bKeyDown = TRUE; in DisableWrite()
[all …]
/reactos/base/applications/network/telnet/src/
H A Dtmouse.cpp142 INPUT_RECORD InputRecord; in doMouse() local
144 InputRecord.EventType = KEY_EVENT; // just in case in doMouse()
145 while(InputRecord.EventType != MOUSE_EVENT) { in doMouse()
146 if (!ReadConsoleInput(hConsole, &InputRecord, 1, &Result)) in doMouse()
149 if(InputRecord.Event.MouseEvent.dwButtonState == 0) return; in doMouse()
150 if(!(InputRecord.Event.MouseEvent.dwButtonState & in doMouse()
176 switch (InputRecord.EventType) { in doMouse()
178 switch(InputRecord.Event.MouseEvent.dwEventFlags) { in doMouse()
180 if(!InputRecord.Event.MouseEvent.dwButtonState) { in doMouse()
187 end_coords = InputRecord.Event.MouseEvent.dwMousePosition; in doMouse()
[all …]
H A Dtncon.cpp49 #define KEYEVENT InputRecord[i].Event.KeyEvent
235 INPUT_RECORD InputRecord[11]; in telProcessConsole() local
240 switch (InputRecord[i].EventType) { in telProcessConsole()
282 if(!InputRecord[i].Event.MouseEvent.dwEventFlags) { in telProcessConsole()
291 WriteConsoleInput(hConsole, &InputRecord[i], 1, in telProcessConsole()
322 INPUT_RECORD InputRecord; in scrollkeys() local
332 if (InputRecord.EventType == KEY_EVENT && in scrollkeys()
333 InputRecord.Event.KeyEvent.bKeyDown ) { in scrollkeys()
335 return InputRecord.Event.KeyEvent.wVirtualKeyCode; in scrollkeys()
336 } else if(InputRecord.EventType == MOUSE_EVENT) { in scrollkeys()
[all …]
H A Dtnmain.cpp53 INPUT_RECORD InputRecord; in waitforkey() local
62 if (InputRecord.EventType == KEY_EVENT && in waitforkey()
63 InputRecord.Event.KeyEvent.bKeyDown ) in waitforkey()
77 INPUT_RECORD InputRecord; in cfgets() local
93 if (InputRecord.EventType == KEY_EVENT && in cfgets()
94 InputRecord.Event.KeyEvent.bKeyDown ) { in cfgets()
96 if(InputRecord.Event.KeyEvent.dwControlKeyState & in cfgets()
99 switch(InputRecord.Event.KeyEvent.wVirtualKeyCode) { in cfgets()
146 if (InputRecord.Event.KeyEvent.dwControlKeyState & in cfgets()
168 if(InputRecord.Event.KeyEvent.dwControlKeyState & in cfgets()
[all …]
/reactos/sdk/lib/crt/conio/
H A Dkbhit.c23 PINPUT_RECORD InputRecord = NULL; in _kbhit() local
66 if (!(InputRecord = (PINPUT_RECORD)malloc(EventsRead * sizeof(INPUT_RECORD)))) in _kbhit()
72 if (!PeekConsoleInput(StdInputHandle, InputRecord, EventsRead, &NumberRead)) in _kbhit()
74 free(InputRecord); in _kbhit()
81 if (InputRecord[RecordIndex].EventType == KEY_EVENT && in _kbhit()
82 InputRecord[RecordIndex].Event.KeyEvent.bKeyDown) in _kbhit()
89 free(InputRecord); in _kbhit()
/reactos/win32ss/user/winsrv/consrv/
H A Dconinput.c163 IN PINPUT_RECORD InputRecord,
502 OUT PINPUT_RECORD InputRecord,
515 PINPUT_RECORD InputRecord; in ReadInputBuffer() local
530 InputRecord = GetInputRequest->RecordStaticBuffer; in ReadInputBuffer()
534 InputRecord = GetInputRequest->RecordBufPtr; in ReadInputBuffer()
542 InputRecord, in ReadInputBuffer()
718 IN PINPUT_RECORD InputRecord,
730 PINPUT_RECORD InputRecord; in CON_API() local
745 InputRecord = WriteInputRequest->RecordStaticBuffer; in CON_API()
757 InputRecord = WriteInputRequest->RecordBufPtr; in CON_API()
[all …]