GetTokenInformation(3w)

GetTokenInformation3w

Usage

BOOL GetTokenInformation
(
HANDLE token,
TOKEN_INFORMATION_CLASS tokeninfoclass,
LPVOID tokeninfo,
DWORD tokeninfolength,
LPDWORD retlen
)

Overview

Get a type of information about an access token.

Params

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

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

tokeninfo [Out] Destination for token information.

tokeninfolength [In] Length of tokeninfo.

retlen [Out] Destination for returned token information length.

Returns

Success: TRUE. tokeninfo contains retlen bytes of token information

Failure: FALSE.

Notes

See NtQueryInformationToken(3w).

Implementation

Declared in "winbase.h".

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

Debug channel "advapi".

Releases

5 releases since Debian 2.0 (Hamm); the text changed 4 times.

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

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