mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Fixed bug in lib/kernel32/misc/console.c
svn path=/trunk/; revision=216
This commit is contained in:
parent
e5dfcc9871
commit
02e70516ef
1 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ GetStdHandle(
|
|||
if ( nStdHandle == STD_PRINT_HANDLE )
|
||||
return StdError;
|
||||
*/
|
||||
return NULL;
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ ReadConsoleA(
|
|||
Overlapped.InternalHigh = 0;
|
||||
Overlapped.Offset = 0;
|
||||
Overlapped.OffsetHigh = 0;
|
||||
// Overlapped.hEvent = CreateEvent(NULL,FALSE,TRUE,NULL);
|
||||
// Overlapped.hEvent = CreateEvent(NULL,FALSE,TRUE,NULL);
|
||||
lpOverlapped = &Overlapped;
|
||||
}
|
||||
else
|
||||
|
@ -105,7 +105,7 @@ ReadConsoleA(
|
|||
|
||||
HeapFree(GetProcessHeap(),0,k);
|
||||
//if ( lpReserved == NULL ) {
|
||||
// CloseHandle(Overlapped.hEvent);
|
||||
// CloseHandle(Overlapped.hEvent);
|
||||
//}
|
||||
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ WINBOOL
|
|||
STDCALL
|
||||
AllocConsole( VOID )
|
||||
{
|
||||
StdInput = CreateFile("\\Device\\Keyboard",
|
||||
StdInput = CreateFile("\\Keyboard",
|
||||
FILE_GENERIC_READ,
|
||||
0,
|
||||
NULL,
|
||||
|
@ -122,7 +122,7 @@ AllocConsole( VOID )
|
|||
FILE_FLAG_OVERLAPPED,
|
||||
NULL);
|
||||
|
||||
StdOutput = CreateFile("\\Device\\BlueScreen",
|
||||
StdOutput = CreateFile("\\BlueScreen",
|
||||
FILE_GENERIC_WRITE|FILE_GENERIC_READ,
|
||||
0,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue