https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bf6af0f52eba23b2ca667…
commit bf6af0f52eba23b2ca6677813792baa80c6d1f82
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sat May 27 22:29:16 2023 -0400
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Sep 12 17:44:13 2024 +0300
[NTOS:SE] Mark output parameters as such.
---
ntoskrnl/se/access.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/ntoskrnl/se/access.c b/ntoskrnl/se/access.c
index d1ecd5bd571..7a9eedeba66 100644
--- a/ntoskrnl/se/access.c
+++ b/ntoskrnl/se/access.c
@@ -23,10 +23,10 @@
* @param[in] Process
* Valid process object where subject context is to be captured.
*
- * @param[in,out] AccessState
+ * @param[out] AccessState
* An initialized returned parameter to an access state.
*
- * @param[in] AuxData
+ * @param[out] AuxData
* Auxiliary security data for access state.
*
* @param[in] Access
@@ -43,8 +43,8 @@ NTAPI
SeCreateAccessStateEx(
_In_ PETHREAD Thread,
_In_ PEPROCESS Process,
- _Inout_ PACCESS_STATE AccessState,
- _In_ PAUX_ACCESS_DATA AuxData,
+ _Out_ PACCESS_STATE AccessState,
+ _Out_ __drv_aliasesMem PAUX_ACCESS_DATA AuxData,
_In_ ACCESS_MASK Access,
_In_ PGENERIC_MAPPING GenericMapping)
{
@@ -101,10 +101,10 @@ SeCreateAccessStateEx(
* @brief
* Creates an access state.
*
- * @param[in,out] AccessState
+ * @param[out] AccessState
* An initialized returned parameter to an access state.
*
- * @param[in] AuxData
+ * @param[out] AuxData
* Auxiliary security data for access state.
*
* @param[in] Access
@@ -119,8 +119,8 @@ SeCreateAccessStateEx(
NTSTATUS
NTAPI
SeCreateAccessState(
- _Inout_ PACCESS_STATE AccessState,
- _In_ PAUX_ACCESS_DATA AuxData,
+ _Out_ PACCESS_STATE AccessState,
+ _Out_ __drv_aliasesMem PAUX_ACCESS_DATA AuxData,
_In_ ACCESS_MASK Access,
_In_ PGENERIC_MAPPING GenericMapping)
{