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 | 6d572660b22e7ef9b07b2b380aca88fa949127b3 (patch) | |
tree | 2b809b027b646c17e318192be3495db3dbc1dd3f | |
parent | d9d1789535a1ef6b0bc6dde9fba721ac923fe86c (diff) | |
download | ntapi-6d572660b22e7ef9b07b2b380aca88fa949127b3.tar.bz2 ntapi-6d572660b22e7ef9b07b2b380aca88fa949127b3.tar.xz |
subsystem interfaces: normalized port name helper functions.
-rw-r--r-- | include/ntapi/nt_port.h | 2 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 2 | ||||
-rw-r--r-- | src/internal/ntapi.c | 2 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 2 | ||||
-rw-r--r-- | src/port/ntapi_port_name_helper.c | 2 | ||||
-rw-r--r-- | src/tty/ntapi_tty_create_session.c | 2 | ||||
-rw-r--r-- | src/tty/ntapi_tty_join_session.c | 2 |
7 files changed, 7 insertions, 7 deletions
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); |