From 47aaf28e9060c837e3c0d3a7ac009c434f95eda7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 1 Jan 2017 18:39:21 +0000 Subject: pty interfaces: added __ntapi_pty_open_pair(). --- include/ntapi/nt_tty.h | 10 ++++++++++ include/ntapi/ntapi.h | 1 + 2 files changed, 11 insertions(+) (limited to 'include') 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; -- cgit v1.2.3