From e3e5a218e16e376c4ef18b5f5aba649e5e5063c0 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 6 Jan 2017 12:38:12 -0500 Subject: subsystem infrastructure: distinguish between port and session type/subtype. --- include/ntapi/nt_process.h | 4 ++++ include/ntapi/nt_tty.h | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index a58e616..39e84e9 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -470,6 +470,10 @@ typedef struct _nt_runtime_data { void * hsync; void * hswap; void * srv_ready; + nt_guid port_guid; + int32_t port_type; + int32_t port_subtype; + uint32_t port_keys[6]; nt_guid srv_guid; int32_t srv_type; int32_t srv_subtype; diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h index 4ed536f..636f4ae 100644 --- a/include/ntapi/nt_tty.h +++ b/include/ntapi/nt_tty.h @@ -88,6 +88,12 @@ typedef enum _nt_tty_session_type { } nt_tty_session_type; +typedef enum _nt_tty_session_subtype { + NT_TTY_SESSION_SUBTYPE_DEFAULT, + NT_TTY_SESSION_SUBTYPE_CAP, +} nt_tty_session_subtype; + + typedef enum _nt_tty_server_info_class { NT_TTY_SERVER_BASIC_INFORMATION, NT_TTY_SERVER_PTM_SLOT_INFORMATION, @@ -352,6 +358,7 @@ typedef int32_t __stdcall ntapi_tty_create_session( __out void ** hport, __out nt_port_name * port_name, __in nt_tty_session_type type, + __in nt_tty_session_subtype subtype, __in const nt_guid * guid __optional, __in wchar16_t * image_name __optional, __in void * htty __optional); -- cgit v1.2.3