Skip navigation links
JNA API 5.6.0
com.sun.jna.platform.win32

Class WinNT.TOKEN_PRIVILEGES

  • Enclosing interface:
    WinNT


    @Structure.FieldOrder(value={"PrivilegeCount","Privileges"})
    public static class WinNT.TOKEN_PRIVILEGES
    extends Structure
    The TOKEN_PRIVILEGES structure contains information about a set of privileges for an access token.
    • Field Detail

      • PrivilegeCount

        public WinDef.DWORD PrivilegeCount
        This must be set to the number of entries in the Privileges array.
      • Privileges

        public WinNT.LUID_AND_ATTRIBUTES[] Privileges
        Specifies an array of LUID_AND_ATTRIBUTES structures. Each structure contains the LUID and attributes of a privilege.
    • Constructor Detail

      • TOKEN_PRIVILEGES

        public TOKEN_PRIVILEGES()
        Creates an empty instance with no privileges.
      • TOKEN_PRIVILEGES

        public TOKEN_PRIVILEGES(int nbOfPrivileges)
        Parameters:
        nbOfPrivileges - Desired size of the Privileges array
      • TOKEN_PRIVILEGES

        public TOKEN_PRIVILEGES(Pointer p)
        Initialize a TOKEN_PRIVILEGES instance from initialized memory.
        Parameters:
        p - base address
JNA API 5.6.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.