[SDK][NDK] Declare the NtFilterToken syscall prototype

This commit is contained in:
George Bișoc 2021-10-19 11:20:59 +02:00
parent b39ae9f32b
commit d0b6b10868
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

View file

@ -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