AutoTokenInformation<TokenInformationClass> Chusov::Win32::Security::GetTokenInformation | ( | HANDLE | hToken | ) |
Returns a managed pointer to the specified token information. .
TokenInformationClass | is an integral identifier of value of the standard Windows enumeration [TOKEN_INFORMATION_CLASS]. To specify a dynamically acquired information class identifier use another overload of the GetTokenInformation function which returns a generic managed pointer of void* type that should be cast to the appropriate type. |
[in] | hToken | is a handle to a token which information is retrieved by the function. |
Example: