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.