#ifndef _NTSEAPI_H
//
// Authz
//
// begin_rev
#if (PHNT_MODE == PHNT_MODE_KERNEL)
/**
* The TOKEN_PRIVILEGES structure contains information about a set of privileges for an access token.
* \sa https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-token_privileges
*/
typedef struct _TOKEN_PRIVILEGES
{
ULONG PrivilegeCount;
LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
} TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES;
View code on GitHub// ntifs.h
typedef struct _TOKEN_PRIVILEGES {
ULONG PrivilegeCount;
LUID_AND_ATTRIBUTES Privileges[ANYSIZE_ARRAY];
} TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES;
View the official Windows Driver Kit DDI referenceNo description available.
The TOKEN_PRIVILEGES structure contains information about a set of privileges for an access token.
PrivilegeCountSpecifies the number of entries in the Privileges array.
PrivilegesSpecifies an array of LUID_AND_ATTRIBUTES structures. Each structure contains the LUID and attributes of a privilege.