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 or OpenThreadToken.
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.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/advapi32/security.c". source.winehq.org/source/dlls/advapi32/security.c

Debug channel "advapi".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.