diff options
author | midipix <writeonce@midipix.org> | 2017-07-30 21:21:21 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-07-31 08:43:35 -0400 |
commit | d9d1789535a1ef6b0bc6dde9fba721ac923fe86c (patch) | |
tree | 3737e989f7ecfdcbc15f8cc89d5135f44623be55 /include | |
parent | ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6 (diff) | |
download | ntapi-d9d1789535a1ef6b0bc6dde9fba721ac923fe86c.tar.bz2 ntapi-d9d1789535a1ef6b0bc6dde9fba721ac923fe86c.tar.xz |
subsystem interfaces: integrated extended port name helper functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_port.h | 15 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 3 |
2 files changed, 18 insertions, 0 deletions
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; |