summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-07-30 21:21:21 +0000
committermidipix <writeonce@midipix.org>2017-07-31 08:43:35 -0400
commitae515fc910d2c548ccb2aeef59b67e0dcd13c3b6 (patch)
treeecf5e1228ff34159dc003fcbeeaf35f0a48c101a /include
parent661c276ff61cf93a40829a9c120e1c6690c2ca2e (diff)
downloadntapi-ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6.tar.bz2
ntapi-ae515fc910d2c548ccb2aeef59b67e0dcd13c3b6.tar.xz
subsystem interfaces: ipc object guid parameter is always a const.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_object.h6
-rw-r--r--include/ntapi/nt_port.h2
2 files changed, 4 insertions, 4 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(