From f619173799ff7c4d3a8449615797babd05ad8739 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 6 Jan 2017 10:02:38 -0500 Subject: subsystem infrastructure: added proper session chain support. --- include/ntapi/nt_process.h | 4 ++++ include/ntapi/nt_tty.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index 5792529..a58e616 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -474,6 +474,10 @@ typedef struct _nt_runtime_data { int32_t srv_type; int32_t srv_subtype; uint32_t srv_keys[6]; + nt_guid tty_guid; + int32_t tty_type; + int32_t tty_subtype; + uint32_t tty_keys[6]; nt_guid grp_guid; int32_t grp_type; int32_t grp_subtype; diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h index b0d9205..4ed536f 100644 --- a/include/ntapi/nt_tty.h +++ b/include/ntapi/nt_tty.h @@ -83,6 +83,7 @@ typedef enum _nt_tty_opcode { typedef enum _nt_tty_session_type { NT_TTY_SESSION_PRIMARY, + NT_TTY_SESSION_SECONDARY, NT_TTY_SESSION_PRIVATE } nt_tty_session_type; @@ -352,7 +353,8 @@ typedef int32_t __stdcall ntapi_tty_create_session( __out nt_port_name * port_name, __in nt_tty_session_type type, __in const nt_guid * guid __optional, - __in wchar16_t * image_name __optional); + __in wchar16_t * image_name __optional, + __in void * htty __optional); typedef int32_t __stdcall ntapi_tty_join_session( -- cgit v1.2.3