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:

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

VB Definition:

Structure TOKEN_PRIVILEGES
   Public TODO
End Structure

User-Defined Field Types:

LUID_AND_ATTRIBUTES

Notes:

If you only need one privilege, you can define the last field as a single LUID_AND_ATTRIBUTES field instead of an array.

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
Find References
Show Printable Version
Revisions