SetTokenInformation (ADVAPI32.@)
BOOL SetTokenInformation ( HANDLE token, TOKEN_INFORMATION_CLASS tokeninfoclass, LPVOID tokeninfo, DWORD tokeninfolength )
Set information for an access token.
token | [In] | Handle from OpenProcessToken or OpenThreadToken. |
tokeninfoclass | [In] | A TOKEN_INFORMATION_CLASS from "winnt.h". |
tokeninfo | [In] | Token information to set. |
tokeninfolength | [In] | Length of tokeninfo. |
Success: TRUE. The information for the token is set to tokeninfo.
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 Jul 2008.