Scroll to navigation

GetTokenInformation(3w) Wine API GetTokenInformation(3w)

NAME

GetTokenInformation (ADVAPI32.@)

SYNOPSIS

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

DESCRIPTION

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".
Oct 2012 Wine API