summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-07-30 21:21:21 +0000
committermidipix <writeonce@midipix.org>2017-07-31 08:43:34 -0400
commite3a28479aedac37cb086056b5c8aeaa2c466d352 (patch)
tree6570991f8e288436d254aaff4880ca9a95c0d12c /src
parenta719b2fbc8ba78131b9a2855604e1f052143685e (diff)
downloadntapi-e3a28479aedac37cb086056b5c8aeaa2c466d352.tar.bz2
ntapi-e3a28479aedac37cb086056b5c8aeaa2c466d352.tar.xz
__ntapi_tty_create_session(): properly set the server's runtime abi.
Diffstat (limited to 'src')
-rw-r--r--src/tty/ntapi_tty_create_session.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tty/ntapi_tty_create_session.c b/src/tty/ntapi_tty_create_session.c
index 2874b6d..ac08ce4 100644
--- a/src/tty/ntapi_tty_create_session.c
+++ b/src/tty/ntapi_tty_create_session.c
@@ -138,6 +138,10 @@ int32_t __stdcall __ntapi_tty_create_session(
}
/* subsystem attributes */
+ __ntapi->tt_guid_copy(
+ &ssattr.abi,
+ &(nt_guid)NT_PROCESS_GUID_RTDATA);
+
ssattr.port_type = port_attr.type;
ssattr.port_subtype = port_attr.subtype;