ReactOS  0.4.15-dev-1187-g119f102
ntddblue.h
Go to the documentation of this file.
1 #ifndef _NTDDBLUE_H_INCLUDED_
2 #define _NTDDBLUE_H_INCLUDED_
3 
4 #define IOCTL_CONSOLE_RESET_SCREEN CTL_CODE(FILE_DEVICE_SCREEN, 0x800, METHOD_BUFFERED, FILE_WRITE_ACCESS)
5 
6 #define IOCTL_CONSOLE_GET_SCREEN_BUFFER_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x801, METHOD_BUFFERED, FILE_READ_ACCESS)
7 #define IOCTL_CONSOLE_SET_SCREEN_BUFFER_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x802, METHOD_BUFFERED, FILE_WRITE_ACCESS)
8 #define IOCTL_CONSOLE_GET_CURSOR_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x803, METHOD_BUFFERED, FILE_READ_ACCESS)
9 #define IOCTL_CONSOLE_SET_CURSOR_INFO CTL_CODE(FILE_DEVICE_SCREEN, 0x804, METHOD_BUFFERED, FILE_WRITE_ACCESS)
10 #define IOCTL_CONSOLE_GET_MODE CTL_CODE(FILE_DEVICE_SCREEN, 0x805, METHOD_BUFFERED, FILE_READ_ACCESS)
11 #define IOCTL_CONSOLE_SET_MODE CTL_CODE(FILE_DEVICE_SCREEN, 0x806, METHOD_BUFFERED, FILE_WRITE_ACCESS)
12 
13 #define IOCTL_CONSOLE_FILL_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x810, METHOD_BUFFERED, FILE_WRITE_ACCESS)
14 #define IOCTL_CONSOLE_READ_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x811, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
15 #define IOCTL_CONSOLE_WRITE_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x812, METHOD_IN_DIRECT, FILE_WRITE_ACCESS)
16 #define IOCTL_CONSOLE_SET_TEXT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x813, METHOD_BUFFERED, FILE_WRITE_ACCESS)
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_READ_ACCESS)
20 #define IOCTL_CONSOLE_WRITE_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x822, METHOD_IN_DIRECT, FILE_WRITE_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 #define IOCTL_CONSOLE_SETFONT CTL_CODE(FILE_DEVICE_SCREEN, 0x841, METHOD_IN_DIRECT, FILE_WRITE_ACCESS)
26 
27 /* TYPEDEFS **************************************************************/
28 
29 typedef struct tagCONSOLE_MODE
30 {
33 
34 typedef struct tagOUTPUT_ATTRIBUTE
35 {
41 
42 typedef struct tagOUTPUT_CHARACTER
43 {
49 
50 typedef struct tagCONSOLE_DRAW
51 {
52  USHORT X; /* Origin */
54  USHORT SizeX; /* Size of the screen buffer (chars) */
56  USHORT CursorX; /* New cursor position (screen-relative) */
58  /* Followed by screen buffer in char/attrib format */
60 
61 #endif /* _NTDDBLUE_H_INCLUDED_ */
USHORT SizeX
Definition: ntddblue.h:54
struct tagOUTPUT_CHARACTER OUTPUT_CHARACTER
char CHAR
Definition: xmlstorage.h:175
struct tagCONSOLE_MODE * PCONSOLE_MODE
USHORT CursorX
Definition: ntddblue.h:56
struct tagCONSOLE_DRAW * PCONSOLE_DRAW
USHORT CursorY
Definition: ntddblue.h:57
Definition: bl.h:1338
struct tagCONSOLE_DRAW CONSOLE_DRAW
ULONG dwMode
Definition: ntddblue.h:31
struct tagOUTPUT_CHARACTER * POUTPUT_CHARACTER
USHORT SizeY
Definition: ntddblue.h:55
unsigned short USHORT
Definition: pedump.c:61
struct tagCONSOLE_MODE CONSOLE_MODE
struct tagOUTPUT_ATTRIBUTE * POUTPUT_ATTRIBUTE
unsigned int ULONG
Definition: retypes.h:1
struct tagOUTPUT_ATTRIBUTE OUTPUT_ATTRIBUTE