Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

TOKEN_PRIVILEGES (Structures)
 
.
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

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

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions