summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_tty.h15
-rw-r--r--include/ntapi/ntapi.h1
2 files changed, 16 insertions, 0 deletions
diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h
index 8d5a18e..f5081a0 100644
--- a/include/ntapi/nt_tty.h
+++ b/include/ntapi/nt_tty.h
@@ -193,6 +193,15 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_server_basic_info {
} nt_tty_server_basic_info;
+typedef struct __attr_ptr_size_aligned__ _nt_tty_pts_slot_info {
+ int32_t blkidx;
+ int32_t blkpts;
+ int32_t blkcnt;
+ int32_t blkcap;
+ uint32_t ptsmap[32];
+} nt_tty_pts_slot_info;
+
+
typedef struct __attr_ptr_size_aligned__ _nt_tty_server_info {
nt_tty_server_info_class info_class;
uint32_t info_length;
@@ -611,6 +620,12 @@ typedef int32_t __stdcall ntapi_tty_query_information_service(
__in uint32_t id);
+typedef int32_t __stdcall ntapi_tty_query_server_pts_slot_info(
+ __in void * hport,
+ __out nt_tty_pts_slot_info * pts_slot_info,
+ __in intptr_t blkidx);
+
+
/* pty api */
typedef struct nt_pty_context nt_pty;
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 7714bce..82491a7 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -597,6 +597,7 @@ typedef struct _ntapi_vtbl {
ntapi_tty_query_information_section * tty_query_information_section;
ntapi_tty_query_information_server * tty_query_information_server;
ntapi_tty_query_information_service * tty_query_information_service;
+ ntapi_tty_query_server_pts_slot_info * tty_query_server_pts_slot_info;
ntapi_tty_request_peer * tty_request_peer;
ntapi_tty_vms_query * tty_vms_query;
ntapi_tty_vms_request * tty_vms_request;