-/* $Id: console.c,v 1.8 2004/08/15 22:15:23 chorns Exp $
+/* $Id: console.c,v 1.9 2004/11/02 20:47:05 weiden Exp $
*
* CONSOLE.C - console input/output functions.
*
if (hInput == INVALID_HANDLE_VALUE)
DebugPrintf (_T("Invalid input handle!!!\n"));
#endif /* _DEBUG */
-#ifdef __REACTOS__
- /* ReadConsoleInputW isn't implwmented within ROS. */
- ReadConsoleInputA (hInput, &dummy, 1, &dwRead);
-#else
ReadConsoleInput (hInput, &dummy, 1, &dwRead);
-#endif
}
VOID ConInFlush (VOID)
do
{
-#ifdef __REACTOS__
- /* ReadConsoleInputW isn't implwmented within ROS. */
- ReadConsoleInputA (hInput, lpBuffer, 1, &dwRead);
-#else
ReadConsoleInput (hInput, lpBuffer, 1, &dwRead);
-#endif
if ((lpBuffer->EventType == KEY_EVENT) &&
(lpBuffer->Event.KeyEvent.bKeyDown == TRUE))
break;