mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
GENERIC_WRITE is required to flush the input buffer
svn path=/trunk/; revision=38171
This commit is contained in:
parent
6c8e595de5
commit
f74a13b345
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ int main (int argc, char **argv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ,
|
hKeyboard = CreateFile (_T("CONIN$"), GENERIC_READ|GENERIC_WRITE,
|
||||||
0,NULL,OPEN_ALWAYS,0,0);
|
0,NULL,OPEN_ALWAYS,0,0);
|
||||||
|
|
||||||
GetScreenSize(&maxx,&maxy);
|
GetScreenSize(&maxx,&maxy);
|
||||||
|
|
Loading…
Reference in a new issue