SetTokenInformation(3w)

SetTokenInformation3w

Usage

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

Overview

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

Declared in "winbase.h".

Implemented in "dlls/advapi32/security.c".

Debug channel "advapi".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.