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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 686 - (show annotations) (download)
Mon Jun 17 09:31:52 2013 UTC (7 years, 4 months ago) by william
File size: 2050 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 [Flags()]
9 public enum ProcessAccessFlags : int
10 {
11 /// <summary>Specifies all possible access flags for the process object.</summary>
12 AllAccess = CreateThread | DuplicateHandle | QueryInformation | SetInformation | Terminate | VMOperation | VMRead | VMWrite | Synchronize,
13 /// <summary>Enables usage of the process handle in the CreateRemoteThread function to create a thread in the process.</summary>
14 CreateThread = 0x2,
15 /// <summary>Enables usage of the process handle as either the source or target process in the DuplicateHandle function to duplicate a handle.</summary>
16 DuplicateHandle = 0x40,
17 /// <summary>Enables usage of the process handle in the GetExitCodeProcess and GetPriorityClass functions to read information from the process object.</summary>
18 QueryInformation = 0x400,
19 /// <summary>Enables usage of the process handle in the SetPriorityClass function to set the priority class of the process.</summary>
20 SetInformation = 0x200,
21 /// <summary>Enables usage of the process handle in the TerminateProcess function to terminate the process.</summary>
22 Terminate = 0x1,
23 /// <summary>Enables usage of the process handle in the VirtualProtectEx and WriteProcessMemory functions to modify the virtual memory of the process.</summary>
24 VMOperation = 0x8,
25 /// <summary>Enables usage of the process handle in the ReadProcessMemory function to' read from the virtual memory of the process.</summary>
26 VMRead = 0x10,
27 /// <summary>Enables usage of the process handle in the WriteProcessMemory function to write to the virtual memory of the process.</summary>
28 VMWrite = 0x20,
29 /// <summary>Enables usage of the process handle in any of the wait functions to wait for the process to terminate.</summary>
30 Synchronize = 0x100000
31 }
32 }

  ViewVC Help
Powered by ViewVC 1.1.22