From d9d1789535a1ef6b0bc6dde9fba721ac923fe86c Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 30 Jul 2017 21:21:21 +0000 Subject: subsystem interfaces: integrated extended port name helper functions. --- include/ntapi/nt_port.h | 15 +++++++++++++++ include/ntapi/ntapi.h | 3 +++ 2 files changed, 18 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_port.h b/include/ntapi/nt_port.h index 4cd330e..5978802 100644 --- a/include/ntapi/nt_port.h +++ b/include/ntapi/nt_port.h @@ -337,4 +337,19 @@ typedef void __stdcall ntapi_tt_port_name_from_attributes( __out nt_port_name * name, __in nt_port_attr * attr); + +typedef int32_t __stdcall ntapi_tt_port_attr_from_name( + __out nt_port_attr * attr, + __in const nt_port_name * name); + + +typedef int32_t __stdcall ntapi_tt_port_attr_from_string( + __out nt_port_attr * attr, + __in const nt_unicode_string*str); + + +typedef int32_t __stdcall ntapi_tt_port_attr_from_symlink( + __out nt_port_attr * attr, + __in void * symlink); + #endif diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index bf066bd..b5cf1bf 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -476,6 +476,9 @@ typedef struct _ntapi_vtbl { ntapi_tt_port_generate_keys * tt_port_generate_keys; ntapi_tt_port_format_keys * tt_port_format_keys; ntapi_tt_port_name_from_attributes * tt_port_name_from_attributes; + ntapi_tt_port_attr_from_name * tt_port_attr_from_name; + ntapi_tt_port_attr_from_string * tt_port_attr_from_string; + ntapi_tt_port_attr_from_symlink * tt_port_attr_from_symlink; /* nt_argv.h */ ntapi_tt_get_cmd_line_utf16 * tt_get_cmd_line_utf16; -- cgit v1.2.3