Undocumented functions of NTDLL

2OO1, 9 February


NtPrivilegeCheck
NtPrivilegeCheck

NTSYSAPI 
NTSTATUS
NTAPI

NtPrivilegeCheck(
IN HANDLE TokenHandle, IN PPRIVILEGE_SET RequiredPrivileges, IN PBOOLEAN Result );



Function NtPrivilegeCheck is used to check state of any privileges in Token Object. It's also descripted in Microsoft SDK as PrivilegeCheck.



Requirements:
Library: ntdll.lib


See also:
NtAdjustPrivilegesToken
NtCreateToken
NtOpenProcessToken
NtOpenThreadToken
PRIVILEGE_SET