Undocumented functions of NTDLL

2OO1, 15 February


NtDuplicateToken
NtDuplicateToken

NTSYSAPI 
NTSTATUS
NTAPI

NtDuplicateToken(
IN HANDLE ExistingToken, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, IN TOKEN_TYPE TokenType, OUT PHANDLE NewToken );



Function NtDuplicateToken creates new Token Object basing on existing Token Object.



Requirements:
Library: ntdll.lib


See also:
NtCreateToken
NtOpenProcessToken
NtOpenThreadToken
NtQueryInformationToken
NtSetInformationToken