summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-01 18:39:21 +0000
committermidipix <writeonce@midipix.org>2017-01-07 09:02:19 -0500
commit47aaf28e9060c837e3c0d3a7ac009c434f95eda7 (patch)
treea1858207244d2da4c576d185836f096fd22e75d3 /include
parente47608b7ec59407d5bca7def446137b41e54ee64 (diff)
downloadntapi-47aaf28e9060c837e3c0d3a7ac009c434f95eda7.tar.bz2
ntapi-47aaf28e9060c837e3c0d3a7ac009c434f95eda7.tar.xz
pty interfaces: added __ntapi_pty_open_pair().
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_tty.h10
-rw-r--r--include/ntapi/ntapi.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h
index 06dbd08..b0d9205 100644
--- a/include/ntapi/nt_tty.h
+++ b/include/ntapi/nt_tty.h
@@ -407,6 +407,16 @@ typedef int32_t __stdcall ntapi_pty_open(
__in uint32_t open_options);
+typedef int32_t __stdcall ntapi_pty_open_pair(
+ __in void * hport,
+ __out nt_pty ** pty,
+ __in uint32_t desired_access,
+ __in nt_object_attributes* obj_attr,
+ __out nt_iosb * iosb,
+ __in uint32_t share_access,
+ __in uint32_t open_options);
+
+
typedef int32_t __stdcall ntapi_pty_reopen(
__in void * hport,
__in nt_pty * pty);
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 5b19340..780f11b 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -523,6 +523,7 @@ typedef struct _ntapi_vtbl {
ntapi_tty_vms_query * tty_vms_query;
ntapi_tty_vms_request * tty_vms_request;
ntapi_pty_open * pty_open;
+ ntapi_pty_open_pair * pty_open_pair;
ntapi_pty_reopen * pty_reopen;
ntapi_pty_inherit * pty_inherit;
ntapi_pty_inherit_runtime_ctty * pty_inherit_runtime_ctty;