Author: hbelusca
Date: Mon Sep 15 00:07:46 2014
New Revision: 64157
URL:
http://svn.reactos.org/svn/reactos?rev=64157&view=rev
Log:
[PSDK]: Fix some structure definitions.
Modified:
trunk/reactos/include/psdk/wincon.h
Modified: trunk/reactos/include/psdk/wincon.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wincon.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/wincon.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/wincon.h [iso-8859-1] Mon Sep 15 00:07:46 2014
@@ -228,7 +228,7 @@
WORD wVirtualScanCode;
union {
WCHAR UnicodeChar;
- CHAR AsciiChar;
+ CHAR AsciiChar;
} uChar;
DWORD dwControlKeyState;
}
@@ -236,18 +236,26 @@
/* gcc's alignment is not what win32 expects */
PACKED
#endif
-KEY_EVENT_RECORD;
+KEY_EVENT_RECORD, *PKEY_EVENT_RECORD;
typedef struct _MOUSE_EVENT_RECORD {
COORD dwMousePosition;
DWORD dwButtonState;
DWORD dwControlKeyState;
DWORD dwEventFlags;
-} MOUSE_EVENT_RECORD;
-
-typedef struct _WINDOW_BUFFER_SIZE_RECORD { COORD dwSize; } WINDOW_BUFFER_SIZE_RECORD;
-typedef struct _MENU_EVENT_RECORD { UINT dwCommandId; }
MENU_EVENT_RECORD,*PMENU_EVENT_RECORD;
-typedef struct _FOCUS_EVENT_RECORD { BOOL bSetFocus; } FOCUS_EVENT_RECORD;
+} MOUSE_EVENT_RECORD, *PMOUSE_EVENT_RECORD;
+
+typedef struct _WINDOW_BUFFER_SIZE_RECORD {
+ COORD dwSize;
+} WINDOW_BUFFER_SIZE_RECORD, *PWINDOW_BUFFER_SIZE_RECORD;
+
+typedef struct _MENU_EVENT_RECORD {
+ UINT dwCommandId;
+} MENU_EVENT_RECORD, *PMENU_EVENT_RECORD;
+
+typedef struct _FOCUS_EVENT_RECORD {
+ BOOL bSetFocus;
+} FOCUS_EVENT_RECORD, *PFOCUS_EVENT_RECORD;
typedef struct _INPUT_RECORD {
WORD EventType;
@@ -258,7 +266,7 @@
MENU_EVENT_RECORD MenuEvent;
FOCUS_EVENT_RECORD FocusEvent;
} Event;
-} INPUT_RECORD,*PINPUT_RECORD;
+} INPUT_RECORD, *PINPUT_RECORD;
#if (_WIN32_WINNT >= 0x0600)
typedef struct _CONSOLE_HISTORY_INFO {