diff --git a/include/ntapi/nt_port.h b/include/ntapi/nt_port.h index 5978802..dcf1b4f 100644 --- a/include/ntapi/nt_port.h +++ b/include/ntapi/nt_port.h @@ -333,7 +333,7 @@ typedef void __stdcall ntapi_tt_port_format_keys( __out nt_port_name_keys * name_keys); -typedef void __stdcall ntapi_tt_port_name_from_attributes( +typedef void __stdcall ntapi_tt_port_name_from_attr( __out nt_port_name * name, __in nt_port_attr * attr); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index b5cf1bf..a3d514e 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -475,7 +475,7 @@ typedef struct _ntapi_vtbl { ntapi_tt_port_type_from_guid * tt_port_type_from_guid; 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_name_from_attr * tt_port_name_from_attr; 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; diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index f6eb0b2..12ef163 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -250,7 +250,7 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl) __ntapi->tt_port_type_from_guid = __ntapi_tt_port_type_from_guid; __ntapi->tt_port_generate_keys = __ntapi_tt_port_generate_keys; __ntapi->tt_port_format_keys = __ntapi_tt_port_format_keys; - __ntapi->tt_port_name_from_attributes = __ntapi_tt_port_name_from_attributes; + __ntapi->tt_port_name_from_attr = __ntapi_tt_port_name_from_attr; __ntapi->tt_port_attr_from_name = __ntapi_tt_port_attr_from_name; __ntapi->tt_port_attr_from_string = __ntapi_tt_port_attr_from_string; __ntapi->tt_port_attr_from_symlink = __ntapi_tt_port_attr_from_symlink; diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h index 5f682b8..84a8e59 100644 --- a/src/internal/ntapi_fnapi.h +++ b/src/internal/ntapi_fnapi.h @@ -137,7 +137,7 @@ ntapi_tt_port_guid_from_type __ntapi_tt_port_guid_from_type; ntapi_tt_port_type_from_guid __ntapi_tt_port_type_from_guid; ntapi_tt_port_generate_keys __ntapi_tt_port_generate_keys; ntapi_tt_port_format_keys __ntapi_tt_port_format_keys; -ntapi_tt_port_name_from_attributes __ntapi_tt_port_name_from_attributes; +ntapi_tt_port_name_from_attr __ntapi_tt_port_name_from_attr; ntapi_tt_port_attr_from_name __ntapi_tt_port_attr_from_name; ntapi_tt_port_attr_from_string __ntapi_tt_port_attr_from_string; ntapi_tt_port_attr_from_symlink __ntapi_tt_port_attr_from_symlink; diff --git a/src/port/ntapi_port_name_helper.c b/src/port/ntapi_port_name_helper.c index ae36c86..a918df7 100644 --- a/src/port/ntapi_port_name_helper.c +++ b/src/port/ntapi_port_name_helper.c @@ -119,7 +119,7 @@ void __stdcall __ntapi_tt_port_format_keys( } -void __stdcall __ntapi_tt_port_name_from_attributes( +void __stdcall __ntapi_tt_port_name_from_attr( __out nt_port_name * name, __in nt_port_attr * attr) { diff --git a/src/tty/ntapi_tty_create_session.c b/src/tty/ntapi_tty_create_session.c index 3fa8657..9e39ee1 100644 --- a/src/tty/ntapi_tty_create_session.c +++ b/src/tty/ntapi_tty_create_session.c @@ -110,7 +110,7 @@ int32_t __stdcall __ntapi_tty_create_session( return status; /* port name */ - __ntapi->tt_port_name_from_attributes( + __ntapi->tt_port_name_from_attr( port_name, &port_attr); diff --git a/src/tty/ntapi_tty_join_session.c b/src/tty/ntapi_tty_join_session.c index 8621592..93fc341 100644 --- a/src/tty/ntapi_tty_join_session.c +++ b/src/tty/ntapi_tty_join_session.c @@ -26,7 +26,7 @@ int32_t __stdcall __ntapi_tty_join_session( } /* port name */ - __ntapi->tt_port_name_from_attributes( + __ntapi->tt_port_name_from_attr( port_name, port_attr);