summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-06 10:02:38 -0500
committermidipix <writeonce@midipix.org>2017-01-07 09:02:26 -0500
commitf619173799ff7c4d3a8449615797babd05ad8739 (patch)
treef382349a8911a1e40e3f7b5d152c29d8ea0cb078 /include
parentf154f6e8506ce6cd5bab49a143804b80ac9eaff9 (diff)
downloadntapi-f619173799ff7c4d3a8449615797babd05ad8739.tar.bz2
ntapi-f619173799ff7c4d3a8449615797babd05ad8739.tar.xz
subsystem infrastructure: added proper session chain support.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_process.h4
-rw-r--r--include/ntapi/nt_tty.h4
2 files changed, 7 insertions, 1 deletions
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(