From ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 30 Jul 2017 21:21:21 +0000 Subject: subsystem interfaces: ipc object guid parameter is always a const. --- include/ntapi/nt_object.h | 6 +++--- include/ntapi/nt_port.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include/ntapi') 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( -- cgit v1.2.3