/[RomCheater]/trunk/RomCheater.Core/ProcessTokenFlags.cs
ViewVC logotype

Contents of /trunk/RomCheater.Core/ProcessTokenFlags.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 686 - (show annotations) (download)
Mon Jun 17 09:31:52 2013 UTC (7 years, 3 months ago) by william
File size: 1222 byte(s)
+ massive move of source files

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.Core
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 }

  ViewVC Help
Powered by ViewVC 1.1.22