summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-06 12:38:12 -0500
committermidipix <writeonce@midipix.org>2017-01-07 09:02:33 -0500
commite3e5a218e16e376c4ef18b5f5aba649e5e5063c0 (patch)
tree6b24adac0f5323bca8ba0c9209c01d72e645ca0c /include
parent0d309b364fdde867b244db13a6c3c491c5b573c2 (diff)
downloadntapi-e3e5a218e16e376c4ef18b5f5aba649e5e5063c0.tar.bz2
ntapi-e3e5a218e16e376c4ef18b5f5aba649e5e5063c0.tar.xz
subsystem infrastructure: distinguish between port and session type/subtype.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_process.h4
-rw-r--r--include/ntapi/nt_tty.h7
2 files changed, 11 insertions, 0 deletions
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);