From 94b7f5208ecea9895114265b525bcb1bffe6b497 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 15 Oct 2022 17:18:13 +0000 Subject: __ntapi_tt_port_prefix_from_type(): initial implementation and integration. --- include/ntapi/nt_port.h | 6 ++++++ include/ntapi/ntapi.h | 1 + 2 files changed, 7 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_port.h b/include/ntapi/nt_port.h index ff1cdb9..8021768 100644 --- a/include/ntapi/nt_port.h +++ b/include/ntapi/nt_port.h @@ -339,6 +339,12 @@ typedef int32_t __stdcall ntapi_tt_port_type_from_guid( __in const nt_guid * guid); +typedef int32_t __stdcall ntapi_tt_port_prefix_from_type( + __out wchar16_t (*prefix)[6], + __in nt_port_type type, + __in nt_port_subtype subtype); + + typedef int32_t __stdcall ntapi_tt_port_generate_keys( __out nt_port_keys * keys); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 9fcb896..93970e4 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -550,6 +550,7 @@ typedef struct _ntapi_vtbl { /* nt_port.h */ ntapi_tt_port_guid_from_type * tt_port_guid_from_type; ntapi_tt_port_type_from_guid * tt_port_type_from_guid; + ntapi_tt_port_prefix_from_type * tt_port_prefix_from_type; ntapi_tt_port_generate_keys * tt_port_generate_keys; ntapi_tt_port_format_keys * tt_port_format_keys; ntapi_tt_port_name_from_attr * tt_port_name_from_attr; -- cgit v1.2.3