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 | ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6 (patch) | |
tree | ecf5e1228ff34159dc003fcbeeaf35f0a48c101a | |
parent | 661c276ff61cf93a40829a9c120e1c6690c2ca2e (diff) | |
download | ntapi-ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6.tar.bz2 ntapi-ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6.tar.xz |
subsystem interfaces: ipc object guid parameter is always a const.
-rw-r--r-- | include/ntapi/nt_object.h | 6 | ||||
-rw-r--r-- | include/ntapi/nt_port.h | 2 | ||||
-rw-r--r-- | src/object/ntapi_tt_keyed_object_directory.c | 10 | ||||
-rw-r--r-- | src/port/ntapi_port_name_helper.c | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/include/ntapi/nt_object.h b/include/ntapi/nt_object.h index 1dad1d8..995b5f9 100644 --- a/include/ntapi/nt_object.h +++ b/include/ntapi/nt_object.h @@ -508,7 +508,7 @@ typedef int32_t __stdcall ntapi_tt_open_ipc_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid); + __in const nt_guid * guid); typedef int32_t __stdcall ntapi_tt_create_ipc_object_directory_entry( __out void ** hentry, @@ -522,14 +522,14 @@ typedef int32_t __stdcall ntapi_tt_create_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid, + __in const nt_guid * guid, __in uint32_t key); typedef int32_t __stdcall ntapi_tt_open_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid, + __in const nt_guid * guid, __in uint32_t key); typedef int32_t __stdcall ntapi_tt_create_keyed_object_directory_entry( diff --git a/include/ntapi/nt_port.h b/include/ntapi/nt_port.h index 45755e0..4cd330e 100644 --- a/include/ntapi/nt_port.h +++ b/include/ntapi/nt_port.h @@ -321,7 +321,7 @@ typedef int32_t __stdcall ntapi_tt_port_guid_from_type( typedef int32_t __stdcall ntapi_tt_port_type_from_guid( __out nt_port_type * type, __out nt_port_subtype * subtype, - __in nt_guid * guid); + __in const nt_guid * guid); typedef int32_t __stdcall ntapi_tt_port_generate_keys( diff --git a/src/object/ntapi_tt_keyed_object_directory.c b/src/object/ntapi_tt_keyed_object_directory.c index b2919f0..c744326 100644 --- a/src/object/ntapi_tt_keyed_object_directory.c +++ b/src/object/ntapi_tt_keyed_object_directory.c @@ -23,7 +23,7 @@ static int32_t __stdcall __tt_create_ipc_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid) + __in const nt_guid * guid) { int32_t status; nt_ipc_objdir_name objdir_name; @@ -78,7 +78,7 @@ static int32_t __stdcall __tt_create_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid, + __in const nt_guid * guid, __in uint32_t key, __in objdir_open_fn * openfn) { @@ -178,7 +178,7 @@ int32_t __stdcall __ntapi_tt_open_ipc_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid) + __in const nt_guid * guid) { return __tt_create_ipc_object_directory( hdir,desired_access, @@ -202,7 +202,7 @@ int32_t __stdcall __ntapi_tt_create_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid, + __in const nt_guid * guid, __in uint32_t key) { return __tt_create_keyed_object_directory( @@ -215,7 +215,7 @@ int32_t __stdcall __ntapi_tt_open_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, __in const wchar16_t prefix[6], - __in nt_guid * guid, + __in const nt_guid * guid, __in uint32_t key) { return __tt_create_keyed_object_directory( diff --git a/src/port/ntapi_port_name_helper.c b/src/port/ntapi_port_name_helper.c index 8c811fa..e55ffba 100644 --- a/src/port/ntapi_port_name_helper.c +++ b/src/port/ntapi_port_name_helper.c @@ -57,7 +57,7 @@ int32_t __stdcall __ntapi_tt_port_guid_from_type( int32_t __stdcall __ntapi_tt_port_type_from_guid( __out nt_port_type * type, __out nt_port_subtype * subtype, - __in nt_guid * guid) + __in const nt_guid * guid) { int itype; int isubtype; |