ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/libWin32/Win32/Threading/ProcessTokenFlags.cs
Revision: 101
Committed: Thu May 10 09:53:16 2012 UTC (10 years, 3 months ago) by william
File size: 1231 byte(s)
Log Message:

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace libWin32.Win32.Threading
7 {
8 public class ProcessTokenFlags
9 {
10 public const UInt32 STANDARD_RIGHTS_REQUIRED = 0x000F0000;
11 public const UInt32 STANDARD_RIGHTS_READ = 0x00020000;
12 public const UInt32 TOKEN_ASSIGN_PRIMARY = 0x0001;
13 public const UInt32 TOKEN_DUPLICATE = 0x0002;
14 public const UInt32 TOKEN_IMPERSONATE = 0x0004;
15 public const UInt32 TOKEN_QUERY = 0x0008;
16 public const UInt32 TOKEN_QUERY_SOURCE = 0x0010;
17 public const UInt32 TOKEN_ADJUST_PRIVILEGES = 0x0020;
18 public const UInt32 TOKEN_ADJUST_GROUPS = 0x0040;
19 public const UInt32 TOKEN_ADJUST_DEFAULT = 0x0080;
20 public const UInt32 TOKEN_ADJUST_SESSIONID = 0x0100;
21 public const UInt32 TOKEN_READ = (STANDARD_RIGHTS_READ | TOKEN_QUERY);
22 public const UInt32 TOKEN_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED | TOKEN_ASSIGN_PRIMARY |
23 TOKEN_DUPLICATE | TOKEN_IMPERSONATE | TOKEN_QUERY | TOKEN_QUERY_SOURCE |
24 TOKEN_ADJUST_PRIVILEGES | TOKEN_ADJUST_GROUPS | TOKEN_ADJUST_DEFAULT |
25 TOKEN_ADJUST_SESSIONID);
26 }
27 }