ReactOS  0.4.14-dev-606-g14ebc0b
ntddblue.h
Go to the documentation of this file.
1 #ifndef _NTDDBLUE_H_INCLUDED_
2 #define _NTDDBLUE_H_INCLUDED_
3 
4 #define IOCTL_CONSOLE_GET_SCREEN_BUFFER_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x801, METHOD_BUFFERED, FILE_READ_ACCESS)
5 #define IOCTL_CONSOLE_SET_SCREEN_BUFFER_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x802, METHOD_BUFFERED, FILE_WRITE_ACCESS)
6 #define IOCTL_CONSOLE_GET_CURSOR_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x803, METHOD_BUFFERED, FILE_READ_ACCESS)
7 #define IOCTL_CONSOLE_SET_CURSOR_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x804, METHOD_BUFFERED, FILE_WRITE_ACCESS)
8 #define IOCTL_CONSOLE_GET_MODE CTL_CODE(FILE_DEVICE_SCREEN, 0x805, METHOD_BUFFERED, FILE_READ_ACCESS)
9 #define IOCTL_CONSOLE_SET_MODE CTL_CODE(FILE_DEVICE_SCREEN, 0x806, METHOD_BUFFERED, FILE_WRITE_ACCESS)
10 
11 
12 #define IOCTL_CONSOLE_FILL_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x810, METHOD_BUFFERED, FILE_WRITE_ACCESS)
13 #define IOCTL_CONSOLE_READ_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x811, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
14 #define IOCTL_CONSOLE_WRITE_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x812, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
15 #define IOCTL_CONSOLE_SET_TEXT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x813, METHOD_BUFFERED, FILE_WRITE_ACCESS)
16 
17 
18 #define IOCTL_CONSOLE_FILL_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x820, METHOD_BUFFERED, FILE_WRITE_ACCESS)
19 #define IOCTL_CONSOLE_READ_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x821, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
20 #define IOCTL_CONSOLE_WRITE_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x822, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
21 
22 #define IOCTL_CONSOLE_DRAW CTL_CODE(FILE_DEVICE_SCREEN, 0x830, METHOD_IN_DIRECT, FILE_WRITE_ACCESS)
23 
24 #define IOCTL_CONSOLE_LOADFONT CTL_CODE(FILE_DEVICE_SCREEN, 0x840, METHOD_IN_DIRECT, FILE_WRITE_ACCESS)
25 
26 
27 /* TYPEDEFS **************************************************************/
28 
29 
30 typedef struct tagCONSOLE_MODE
31 {
34 
35 
36 typedef struct tagOUTPUT_ATTRIBUTE
37 {
43 
44 
45 typedef struct tagOUTPUT_CHARACTER
46 {
52 
53 
54 typedef struct tagCONSOLE_DRAW
55 {
56  ULONG X; /* Origin */
58  ULONG SizeX; /* Size of the screen buffer (chars) */
60  ULONG CursorX; /* New cursor position (screen-relative) */
62  /* Followed by screen buffer in char/attrib format */
64 
65 
66 #endif /* _NTDDBLUE_H_INCLUDED_ */
struct tagOUTPUT_CHARACTER OUTPUT_CHARACTER
char CHAR
Definition: xmlstorage.h:175
struct tagCONSOLE_MODE * PCONSOLE_MODE
ULONG CursorY
Definition: ntddblue.h:61
struct tagCONSOLE_DRAW * PCONSOLE_DRAW
Definition: bl.h:1338
struct tagCONSOLE_DRAW CONSOLE_DRAW
ULONG dwMode
Definition: ntddblue.h:32
struct tagOUTPUT_CHARACTER * POUTPUT_CHARACTER
unsigned short USHORT
Definition: pedump.c:61
struct tagCONSOLE_MODE CONSOLE_MODE
struct tagOUTPUT_ATTRIBUTE * POUTPUT_ATTRIBUTE
ULONG CursorX
Definition: ntddblue.h:60
unsigned int ULONG
Definition: retypes.h:1
struct tagOUTPUT_ATTRIBUTE OUTPUT_ATTRIBUTE