mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:36:21 +00:00
[BLUE] Code formatting, add SAL2 annotations, and update file source headers.
This commit is contained in:
parent
c917c442ad
commit
d684f90632
4 changed files with 747 additions and 728 deletions
|
@ -8,13 +8,11 @@
|
|||
#define IOCTL_CONSOLE_GET_MODE CTL_CODE(FILE_DEVICE_SCREEN, 0x805, METHOD_BUFFERED, FILE_READ_ACCESS)
|
||||
#define IOCTL_CONSOLE_SET_MODE CTL_CODE(FILE_DEVICE_SCREEN, 0x806, METHOD_BUFFERED, FILE_WRITE_ACCESS)
|
||||
|
||||
|
||||
#define IOCTL_CONSOLE_FILL_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x810, METHOD_BUFFERED, FILE_WRITE_ACCESS)
|
||||
#define IOCTL_CONSOLE_READ_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x811, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
|
||||
#define IOCTL_CONSOLE_WRITE_OUTPUT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x812, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
|
||||
#define IOCTL_CONSOLE_SET_TEXT_ATTRIBUTE CTL_CODE(FILE_DEVICE_SCREEN, 0x813, METHOD_BUFFERED, FILE_WRITE_ACCESS)
|
||||
|
||||
|
||||
#define IOCTL_CONSOLE_FILL_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x820, METHOD_BUFFERED, FILE_WRITE_ACCESS)
|
||||
#define IOCTL_CONSOLE_READ_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x821, METHOD_OUT_DIRECT, FILE_ANY_ACCESS)
|
||||
#define IOCTL_CONSOLE_WRITE_OUTPUT_CHARACTER CTL_CODE(FILE_DEVICE_SCREEN, 0x822, METHOD_IN_DIRECT, FILE_ANY_ACCESS)
|
||||
|
@ -23,44 +21,38 @@
|
|||
|
||||
#define IOCTL_CONSOLE_LOADFONT CTL_CODE(FILE_DEVICE_SCREEN, 0x840, METHOD_IN_DIRECT, FILE_WRITE_ACCESS)
|
||||
|
||||
|
||||
/* TYPEDEFS **************************************************************/
|
||||
|
||||
|
||||
typedef struct tagCONSOLE_MODE
|
||||
{
|
||||
ULONG dwMode;
|
||||
ULONG dwMode;
|
||||
} CONSOLE_MODE, *PCONSOLE_MODE;
|
||||
|
||||
|
||||
typedef struct tagOUTPUT_ATTRIBUTE
|
||||
{
|
||||
USHORT wAttribute;
|
||||
ULONG nLength;
|
||||
COORD dwCoord;
|
||||
ULONG dwTransfered;
|
||||
USHORT wAttribute;
|
||||
ULONG nLength;
|
||||
COORD dwCoord;
|
||||
ULONG dwTransfered;
|
||||
} OUTPUT_ATTRIBUTE, *POUTPUT_ATTRIBUTE;
|
||||
|
||||
|
||||
typedef struct tagOUTPUT_CHARACTER
|
||||
{
|
||||
CHAR cCharacter;
|
||||
ULONG nLength;
|
||||
COORD dwCoord;
|
||||
ULONG dwTransfered;
|
||||
CHAR cCharacter;
|
||||
ULONG nLength;
|
||||
COORD dwCoord;
|
||||
ULONG dwTransfered;
|
||||
} OUTPUT_CHARACTER, *POUTPUT_CHARACTER;
|
||||
|
||||
|
||||
typedef struct tagCONSOLE_DRAW
|
||||
{
|
||||
ULONG X; /* Origin */
|
||||
ULONG Y;
|
||||
ULONG SizeX; /* Size of the screen buffer (chars) */
|
||||
ULONG SizeY;
|
||||
ULONG CursorX; /* New cursor position (screen-relative) */
|
||||
ULONG CursorY;
|
||||
/* Followed by screen buffer in char/attrib format */
|
||||
ULONG X; /* Origin */
|
||||
ULONG Y;
|
||||
ULONG SizeX; /* Size of the screen buffer (chars) */
|
||||
ULONG SizeY;
|
||||
ULONG CursorX; /* New cursor position (screen-relative) */
|
||||
ULONG CursorY;
|
||||
/* Followed by screen buffer in char/attrib format */
|
||||
} CONSOLE_DRAW, *PCONSOLE_DRAW;
|
||||
|
||||
|
||||
#endif /* _NTDDBLUE_H_INCLUDED_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue