JCL Help:QueryTokenInformation
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: QueryTokenInformation Function
Search in JCL Help
Search in all projects
Summary
Wrapper for the GetTokenInformation Windows API function.
Pascal
procedure QueryTokenInformation(Token: THandle; InformationClass: TTokenInformationClass; var Buffer: Pointer);
Parameters
Parameters | Description |
Token: THandle | Handle to an access token to query for information. |
InformationClass: TTokenInformationClass | The type of information to retrieve. |
var Buffer: Pointer | Upon success reveices a buffer containing the requested information. This buffer must be freed by the caller by using the FreeMem function. Upon failure the buffer is undefined and should not be freed. |
Description
QueryTokenInformation is a wrapper for the GetTokenInformation Windows API function which relieves the user of buffer management. For more information about the purpose of this funcion look up the GetTokenInformation function in the Platform SDK. If the function fails it raises an exception.
About
Unit
Donator
Marcel van Brakel
Notes
Under Windows 95/98/Millenium Edition, QueryTokenInformation always sets Buffer to nil.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page