https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d0b6b108680aec36560e2…
commit d0b6b108680aec36560e2444f740a208ec568949
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Tue Oct 19 11:20:59 2021 +0200
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Sun Nov 7 14:14:14 2021 +0100
[SDK][NDK] Declare the NtFilterToken syscall prototype
---
sdk/include/ndk/sefuncs.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/sdk/include/ndk/sefuncs.h b/sdk/include/ndk/sefuncs.h
index d9a8e58ab83..b0227a223d0 100644
--- a/sdk/include/ndk/sefuncs.h
+++ b/sdk/include/ndk/sefuncs.h
@@ -220,6 +220,19 @@ NtDuplicateToken(
_In_ TOKEN_TYPE TokenType,
_Out_ PHANDLE NewTokenHandle);
+_Must_inspect_result_
+__kernel_entry
+NTSYSCALLAPI
+NTSTATUS
+NTAPI
+NtFilterToken(
+ _In_ HANDLE ExistingTokenHandle,
+ _In_ ULONG Flags,
+ _In_opt_ PTOKEN_GROUPS SidsToDisable,
+ _In_opt_ PTOKEN_PRIVILEGES PrivilegesToDelete,
+ _In_opt_ PTOKEN_GROUPS RestrictedSids,
+ _Out_ PHANDLE NewTokenHandle);
+
NTSYSCALLAPI
NTSTATUS
NTAPI