NAME
RtlImpersonateSelf (NTDLL.@)
SYNOPSIS
NTSTATUS RtlImpersonateSelf
(
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
)
DESCRIPTION
Makes an impersonation token that represents the process user and assigns to the current thread.
PARAMS
ImpersonationLevel [In] Level at which to impersonate.
RETURNS
Success: STATUS_SUCCESS.
Failure: NTSTATUS code.
IMPLEMENTATION
Declared in "winternl.h".
Implemented in "dlls/ntdll/sec.c".
Debug channel "ntdll".