RtlImpersonateSelf (NTDLL.@)
NTSTATUS RtlImpersonateSelf ( SECURITY_IMPERSONATION_LEVEL ImpersonationLevel )
Makes an impersonation token that represents the process user and assigns to the current thread.
ImpersonationLevel | [In] | Level at which to impersonate. |
Success: STATUS_SUCCESS.
Failure: NTSTATUS code.
Declared in "winternl.h". https://source.winehq.org/source/include/winternl.h
Implemented in "dlls/ntdll/sec.c". https://source.winehq.org/source/dlls/ntdll/sec.c
Debug channel "ntdll".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.