https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a3376cd50d4503413ce8d…
commit a3376cd50d4503413ce8dcdc23b8bc8645cd78c9
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Jun 26 22:49:34 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Jun 27 23:40:17 2018 +0200
[NDK] Update NtCreateToken() prototype annotations.
---
sdk/include/ndk/sefuncs.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/include/ndk/sefuncs.h b/sdk/include/ndk/sefuncs.h
index e0e18e1460..f62dc5f3fc 100644
--- a/sdk/include/ndk/sefuncs.h
+++ b/sdk/include/ndk/sefuncs.h
@@ -207,16 +207,16 @@ NTAPI
NtCreateToken(
_Out_ PHANDLE TokenHandle,
_In_ ACCESS_MASK DesiredAccess,
- _In_ POBJECT_ATTRIBUTES ObjectAttributes,
+ _In_opt_ POBJECT_ATTRIBUTES ObjectAttributes,
_In_ TOKEN_TYPE TokenType,
_In_ PLUID AuthenticationId,
_In_ PLARGE_INTEGER ExpirationTime,
_In_ PTOKEN_USER TokenUser,
_In_ PTOKEN_GROUPS TokenGroups,
_In_ PTOKEN_PRIVILEGES TokenPrivileges,
- _In_ PTOKEN_OWNER TokenOwner,
+ _In_opt_ PTOKEN_OWNER TokenOwner,
_In_ PTOKEN_PRIMARY_GROUP TokenPrimaryGroup,
- _In_ PTOKEN_DEFAULT_DACL TokenDefaultDacl,
+ _In_opt_ PTOKEN_DEFAULT_DACL TokenDefaultDacl,
_In_ PTOKEN_SOURCE TokenSource
);