https://git.reactos.org/?p=reactos.git;a=commitdiff;h=11f239373dfdda7ba700c…
commit 11f239373dfdda7ba700ce5556b7621a440b735a
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Sat May 8 18:11:42 2021 +0200
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Sat May 8 18:11:42 2021 +0200
[NTOS:SE] Add further remarks in SeQueryInformationToken
Explicitly mention under remarks that some classes are not implemented for that function, for documentation purposes. No code changes.
---
ntoskrnl/se/token.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/ntoskrnl/se/token.c b/ntoskrnl/se/token.c
index bb623ea7c4c..02664c44298 100644
--- a/ntoskrnl/se/token.c
+++ b/ntoskrnl/se/token.c
@@ -1823,6 +1823,12 @@ SeFilterToken(IN PACCESS_TOKEN ExistingToken,
* pool memory allocation has failed to satisfy an operation. Otherwise
* STATUS_INVALID_INFO_CLASS is returned indicating that the information
* class provided is not supported by the routine.
+ *
+ * @remarks
+ * Only certain information classes are not implemented in this function and
+ * these are TokenOrigin, TokenGroupsAndPrivileges, TokenRestrictedSids and
+ * TokenSandBoxInert. The following classes are implemented in NtQueryInformationToken
+ * only.
*/
NTSTATUS
NTAPI