migrate substitution keywords to SVN
[reactos.git] / reactos / apps / utils / consw / consw.c
1 /* $Id$
2 *
3 * DESCRIPTION: Console mode switcher
4 * PROGRAMMER: Art Yerkes
5 * REVISIONS
6 * 2003-07-26 (arty)
7 */
8
9 #include <windows.h>
10 #include <stdarg.h>
11 #include <string.h>
12 #include <stdio.h>
13 #include <stdlib.h>
14
15 void STDCALL SetConsoleHardwareState( HANDLE conhandle,
16 DWORD flags,
17 DWORD state );
18
19 int main(int argc, char* argv[])
20 {
21 if( argc > 1 ) {
22 SetConsoleHardwareState( GetStdHandle( STD_INPUT_HANDLE ),
23 0,
24 !strcmp( argv[1], "hw" ) );
25 }
26 return 0;
27 }
28
29
30 /* EOF */