GetTokenInformation.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winbase.h".

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

Debug channel "advapi".