NAME

ImpersonateSelf  (ADVAPI32.@)

SYNOPSIS

 BOOL ImpersonateSelf
 (
  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: TRUE.

Failure: FALSE.

IMPLEMENTATION

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 Nov 2008.