ImpersonateSelf (ADVAPI32.@)
BOOL ImpersonateSelf ( 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: TRUE.
Failure: FALSE.
Defined in "winbase.h".
Implemented in "dlls/advapi32/security.c". source.winehq.org/source/dlls/advapi32/security.c
Debug channel "advapi".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.