mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:17:30 +00:00
[KERNEL32-CONSRV]
* HANDLE_TYPE --> CONSOLE_HANDLE_TYPE because it hits "previous" definition of this enumeration (a totally different one from win32ss/include/ntuser.h) * Temporarily add a dummy member to the CONSOLE_CONNECTION_INFO structure, to make MSVC happy. svn path=/branches/ros-csrss/; revision=58055
This commit is contained in:
parent
dba80b614b
commit
d6769b4364
2 changed files with 5 additions and 5 deletions
|
@ -399,7 +399,7 @@ OpenConsoleW(LPCWSTR wsName,
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
CONSOLE_API_MESSAGE ApiMessage;
|
CONSOLE_API_MESSAGE ApiMessage;
|
||||||
PCSRSS_OPEN_CONSOLE OpenConsoleRequest = &ApiMessage.Data.OpenConsoleRequest;
|
PCSRSS_OPEN_CONSOLE OpenConsoleRequest = &ApiMessage.Data.OpenConsoleRequest;
|
||||||
HANDLE_TYPE HandleType;
|
CONSOLE_HANDLE_TYPE HandleType;
|
||||||
|
|
||||||
if (wsName && 0 == _wcsicmp(wsName, L"CONIN$"))
|
if (wsName && 0 == _wcsicmp(wsName, L"CONIN$"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -114,7 +114,7 @@ typedef enum _CONSRV_API_NUMBER
|
||||||
|
|
||||||
typedef struct _CONSOLE_CONNECTION_INFO
|
typedef struct _CONSOLE_CONNECTION_INFO
|
||||||
{
|
{
|
||||||
|
ULONG Dummy;
|
||||||
} CONSOLE_CONNECTION_INFO, *PCONSOLE_CONNECTION_INFO;
|
} CONSOLE_CONNECTION_INFO, *PCONSOLE_CONNECTION_INFO;
|
||||||
|
|
||||||
|
|
||||||
|
@ -369,16 +369,16 @@ typedef struct
|
||||||
/*
|
/*
|
||||||
* Type of handles.
|
* Type of handles.
|
||||||
*/
|
*/
|
||||||
typedef enum _HANDLE_TYPE
|
typedef enum _CONSOLE_HANDLE_TYPE
|
||||||
{
|
{
|
||||||
HANDLE_INPUT = 0x01,
|
HANDLE_INPUT = 0x01,
|
||||||
HANDLE_OUTPUT = 0x02
|
HANDLE_OUTPUT = 0x02
|
||||||
} HANDLE_TYPE;
|
} CONSOLE_HANDLE_TYPE;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
HANDLE Handle;
|
HANDLE Handle;
|
||||||
HANDLE_TYPE HandleType;
|
CONSOLE_HANDLE_TYPE HandleType;
|
||||||
DWORD Access;
|
DWORD Access;
|
||||||
BOOL Inheritable;
|
BOOL Inheritable;
|
||||||
DWORD ShareMode;
|
DWORD ShareMode;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue