ReactOS  0.4.14-dev-98-gb0d4763
console.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS Console Server DLL
4  * FILE: include/reactos/subsys/win/console.h
5  * PURPOSE: Public definitions for Console API Clients
6  * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
7  */
8 
9 #ifndef _CONSOLE_H
10 #define _CONSOLE_H
11 
12 #pragma once
13 
14 #define IsConsoleHandle(h) \
15  (((ULONG_PTR)(h) & 0x10000003) == 0x3)
16 
17 /* Console-reserved device "file" names */
18 #define CONSOLE_FILE_NAME L"CON"
19 #define CONSOLE_INPUT_FILE_NAME L"CONIN$"
20 #define CONSOLE_OUTPUT_FILE_NAME L"CONOUT$"
21 
22 #endif // _CONSOLE_H
23 
24 /* EOF */