mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +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;
|
||||
CONSOLE_API_MESSAGE ApiMessage;
|
||||
PCSRSS_OPEN_CONSOLE OpenConsoleRequest = &ApiMessage.Data.OpenConsoleRequest;
|
||||
HANDLE_TYPE HandleType;
|
||||
CONSOLE_HANDLE_TYPE HandleType;
|
||||
|
||||
if (wsName && 0 == _wcsicmp(wsName, L"CONIN$"))
|
||||
{
|
||||
|
|
|
@ -114,7 +114,7 @@ typedef enum _CONSRV_API_NUMBER
|
|||
|
||||
typedef struct _CONSOLE_CONNECTION_INFO
|
||||
{
|
||||
|
||||
ULONG Dummy;
|
||||
} CONSOLE_CONNECTION_INFO, *PCONSOLE_CONNECTION_INFO;
|
||||
|
||||
|
||||
|
@ -369,16 +369,16 @@ typedef struct
|
|||
/*
|
||||
* Type of handles.
|
||||
*/
|
||||
typedef enum _HANDLE_TYPE
|
||||
typedef enum _CONSOLE_HANDLE_TYPE
|
||||
{
|
||||
HANDLE_INPUT = 0x01,
|
||||
HANDLE_OUTPUT = 0x02
|
||||
} HANDLE_TYPE;
|
||||
} CONSOLE_HANDLE_TYPE;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
HANDLE Handle;
|
||||
HANDLE_TYPE HandleType;
|
||||
CONSOLE_HANDLE_TYPE HandleType;
|
||||
DWORD Access;
|
||||
BOOL Inheritable;
|
||||
DWORD ShareMode;
|
||||
|
|
Loading…
Reference in a new issue