TOKEN_PRIVILEGES (Structures)
Last changed: -142.126.162.230

.
Summary
Contains information about a set of privileges for an access token.

C# Definition:

struct TOKEN_PRIVILEGES {
   public int PrivilegeCount;
   [MarshalAs(UnmanagedType.ByValArray, SizeConst=ANYSIZE_ARRAY)]
   public LUID_AND_ATTRIBUTES [] Privileges;
}

VB Definition:

Public Const ANYSIZE_ARRAY As Integer = 1

<StructLayout(LayoutKind.Sequential)> _

Public Structure TOKEN_PRIVILEGES

    Public PrivilegeCount As UInt32
    <MarshalAs(UnmanagedType.ByValArray, SizeConst:=ANYSIZE_ARRAY)> _
    Public Privileges() As LUID_AND_ATTRIBUTES

End Structure

User-Defined Field Types:

LUID_AND_ATTRIBUTES

Notes:

None.

Documentation