// 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.