https://git.reactos.org/?p=reactos.git;a=commitdiff;h=21362c8e86b39b8da2e36…
commit 21362c8e86b39b8da2e36f31047b0ec45b56c9a8
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Apr 9 14:24:52 2020 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Apr 9 16:05:27 2020 +0200
[SDK:SUBSYS] conmsg.h: Some DWORDs -> ULONGs.
---
sdk/include/reactos/subsys/win/conmsg.h | 54 ++++++++++++++++-----------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/sdk/include/reactos/subsys/win/conmsg.h
b/sdk/include/reactos/subsys/win/conmsg.h
index 2b01ac9bf7e..b96441dd9aa 100644
--- a/sdk/include/reactos/subsys/win/conmsg.h
+++ b/sdk/include/reactos/subsys/win/conmsg.h
@@ -220,8 +220,8 @@ typedef struct _CONSOLE_GETPROCESSLIST
typedef struct _CONSOLE_GENERATECTRLEVENT
{
HANDLE ConsoleHandle;
- DWORD CtrlEvent;
- DWORD ProcessGroupId;
+ ULONG CtrlEvent;
+ ULONG ProcessGroupId;
} CONSOLE_GENERATECTRLEVENT, *PCONSOLE_GENERATECTRLEVENT;
typedef struct _CONSOLE_NOTIFYLASTCLOSE
@@ -292,7 +292,7 @@ typedef struct _CONSOLE_ATTACHCONSOLE
* If ProcessId == ATTACH_PARENT_PROCESS == -1, then attach
* the current process to its parent process console.
*/
- DWORD ProcessId;
+ ULONG ProcessId;
PCONSOLE_START_INFO ConsoleStartInfo;
@@ -345,7 +345,7 @@ typedef struct _CONSOLE_GETSETCURSORINFO
HANDLE OutputHandle;
CONSOLE_CURSOR_INFO Info;
/*
- DWORD Size;
+ ULONG Size;
BOOLEAN Visible;
*/
} CONSOLE_GETSETCURSORINFO, *PCONSOLE_GETSETCURSORINFO;
@@ -367,20 +367,20 @@ typedef struct _CONSOLE_GETSETCONSOLEMODE
{
HANDLE ConsoleHandle;
HANDLE Handle;
- DWORD Mode;
+ ULONG Mode;
} CONSOLE_GETSETCONSOLEMODE, *PCONSOLE_GETSETCONSOLEMODE;
typedef struct _CONSOLE_GETDISPLAYMODE
{
HANDLE ConsoleHandle;
- DWORD DisplayMode; // ModeFlags
+ ULONG DisplayMode; // ModeFlags
} CONSOLE_GETDISPLAYMODE, *PCONSOLE_GETDISPLAYMODE;
typedef struct _CONSOLE_SETDISPLAYMODE
{
HANDLE ConsoleHandle;
HANDLE OutputHandle;
- DWORD DisplayMode; // ModeFlags
+ ULONG DisplayMode; // ModeFlags
COORD NewSBDim;
HANDLE EventHandle;
} CONSOLE_SETDISPLAYMODE, *PCONSOLE_SETDISPLAYMODE;
@@ -395,15 +395,15 @@ typedef struct _CONSOLE_GETSETHWSTATE
{
HANDLE ConsoleHandle;
HANDLE OutputHandle;
- DWORD Flags;
- DWORD State;
+ ULONG Flags;
+ ULONG State;
} CONSOLE_GETSETHWSTATE, *PCONSOLE_GETSETHWSTATE;
typedef struct _CONSOLE_GETNUMFONTS
{
HANDLE ConsoleHandle;
- DWORD NumFonts;
+ ULONG NumFonts;
} CONSOLE_GETNUMFONTS, *PCONSOLE_GETNUMFONTS;
typedef struct _CONSOLE_GETFONTINFO
@@ -412,14 +412,14 @@ typedef struct _CONSOLE_GETFONTINFO
HANDLE OutputHandle;
BOOLEAN MaximumWindow;
PCONSOLE_FONT_INFO FontInfo;
- DWORD NumFonts;
+ ULONG NumFonts;
} CONSOLE_GETFONTINFO, *PCONSOLE_GETFONTINFO;
typedef struct _CONSOLE_GETFONTSIZE
{
HANDLE ConsoleHandle;
HANDLE OutputHandle;
- DWORD FontIndex;
+ ULONG FontIndex;
COORD FontSize;
} CONSOLE_GETFONTSIZE, *PCONSOLE_GETFONTSIZE;
@@ -428,7 +428,7 @@ typedef struct _CONSOLE_GETCURRENTFONT
HANDLE ConsoleHandle;
HANDLE OutputHandle;
BOOLEAN MaximumWindow;
- DWORD FontIndex;
+ ULONG FontIndex;
COORD FontSize;
} CONSOLE_GETCURRENTFONT, *PCONSOLE_GETCURRENTFONT;
@@ -436,7 +436,7 @@ typedef struct _CONSOLE_SETFONT
{
HANDLE ConsoleHandle;
HANDLE OutputHandle;
- DWORD FontIndex;
+ ULONG FontIndex;
} CONSOLE_SETFONT, *PCONSOLE_SETFONT;
@@ -444,11 +444,11 @@ typedef struct _CONSOLE_SETFONT
typedef struct _CONSOLE_CREATESCREENBUFFER
{
HANDLE ConsoleHandle;
- DWORD DesiredAccess;
+ ULONG DesiredAccess; // ACCESS_MASK
BOOL InheritHandle;
- DWORD ShareMode;
+ ULONG ShareMode;
/* Type of the screen buffer: CONSOLE_TEXTMODE_BUFFER or CONSOLE_GRAPHICS_BUFFER */
- DWORD ScreenBufferType;
+ ULONG ScreenBufferType;
/*
* This structure holds the initialization information
* for graphics screen buffers.
@@ -638,9 +638,9 @@ typedef struct _CONSOLE_DUPLICATEHANDLE
{
HANDLE ConsoleHandle;
HANDLE SourceHandle;
- DWORD DesiredAccess;
+ ULONG DesiredAccess; // ACCESS_MASK
BOOLEAN InheritHandle;
- DWORD Options;
+ ULONG Options;
HANDLE TargetHandle;
} CONSOLE_DUPLICATEHANDLE, *PCONSOLE_DUPLICATEHANDLE;
@@ -648,15 +648,15 @@ typedef struct _CONSOLE_GETHANDLEINFO
{
HANDLE ConsoleHandle;
HANDLE Handle;
- DWORD Flags;
+ ULONG Flags;
} CONSOLE_GETHANDLEINFO, *PCONSOLE_GETHANDLEINFO;
typedef struct _CONSOLE_SETHANDLEINFO
{
HANDLE ConsoleHandle;
HANDLE Handle;
- DWORD Mask;
- DWORD Flags;
+ ULONG Mask;
+ ULONG Flags;
} CONSOLE_SETHANDLEINFO, *PCONSOLE_SETHANDLEINFO;
/*
@@ -672,9 +672,9 @@ typedef struct _CONSOLE_OPENCONSOLE
{
HANDLE ConsoleHandle;
CONSOLE_HANDLE_TYPE HandleType;
- DWORD DesiredAccess;
+ ULONG DesiredAccess; // ACCESS_MASK
BOOL InheritHandle;
- DWORD ShareMode;
+ ULONG ShareMode;
HANDLE Handle;
} CONSOLE_OPENCONSOLE, *PCONSOLE_OPENCONSOLE;
@@ -691,8 +691,8 @@ typedef struct _CONSOLE_MENUCONTROL
{
HANDLE ConsoleHandle;
HANDLE OutputHandle;
- DWORD CmdIdLow;
- DWORD CmdIdHigh;
+ ULONG CmdIdLow;
+ ULONG CmdIdHigh;
HMENU MenuHandle;
} CONSOLE_MENUCONTROL, *PCONSOLE_MENUCONTROL;
@@ -810,7 +810,7 @@ typedef struct _CONSOLE_GETSETHISTORYINFO
{
UINT HistoryBufferSize;
UINT NumberOfHistoryBuffers;
- DWORD dwFlags;
+ ULONG dwFlags;
} CONSOLE_GETSETHISTORYINFO, *PCONSOLE_GETSETHISTORYINFO;
typedef struct _CONSOLE_SETHISTORYNUMBERCOMMANDS