#ifndef _NTSEAPI_H
//
// Authz
//
// begin_rev
#if (PHNT_MODE == PHNT_MODE_KERNEL)
/**
* The TOKEN_TYPE enumeration contains values that differentiate between a primary token and an impersonation token.
* \sa https://learn.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-token_type
*/
typedef enum _TOKEN_TYPE
{
TokenPrimary = 1,
TokenImpersonation
} TOKEN_TYPE;
View code on GitHub// ntifs.h
typedef enum _TOKEN_TYPE {
TokenPrimary,
TokenImpersonation
} TOKEN_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The TOKEN_TYPE enumeration type contains values that differentiate between a primary token and an impersonation token.
TokenPrimaryIndicates a primary token.
TokenImpersonationIndicates an impersonation token.