SetTokenInformation(3w)

NAME

SetTokenInformation (ADVAPI32.@)

SYNOPSIS

BOOL SetTokenInformation
 (
  HANDLE                  token,
  TOKEN_INFORMATION_CLASS tokeninfoclass,
  LPVOID                  tokeninfo,
  DWORD                   tokeninfolength
 )

DESCRIPTION

Set information for an access token.

PARAMS

token [In] Handle from OpenProcessToken(3w) or OpenThreadToken(3w).

tokeninfoclass [In] A TOKEN_INFORMATION_CLASS from "winnt.h".

tokeninfo [In] Token information to set.

tokeninfolength [In] Length of tokeninfo.

RETURNS

Success: TRUE. The information for the token is set to tokeninfo.

Failure: FALSE.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/security.c".

Debug channel "advapi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout