/[RomCheater]/trunk/Win32/libWin32/Win32/Threading/ProcessAccessFlags.cs
ViewVC logotype

Diff of /trunk/Win32/libWin32/Win32/Threading/ProcessAccessFlags.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/Win32/libWin32/Win32/Threading/ThreadAccess.cs revision 89 by william, Wed May 9 20:52:20 2012 UTC trunk/Win32/libWin32/Win32/Threading/ProcessAccessFlags.cs revision 101 by william, Thu May 10 09:53:16 2012 UTC
# Line 4  using System.Text; Line 4  using System.Text;
4    
5  namespace libWin32.Win32.Threading  namespace libWin32.Win32.Threading
6  {  {
7      [Flags]      [Flags()]
8      public enum ThreadAccess : int      public enum ProcessAccessFlags : int
9      {      {
10          PROCESS_TOKEN_QUERY = (0x0008),          /// <summary>Specifies all possible access flags for the process object.</summary>
11          TERMINATE = (0x0001),          AllAccess = CreateThread | DuplicateHandle | QueryInformation | SetInformation | Terminate | VMOperation | VMRead | VMWrite | Synchronize,
12          SUSPEND_RESUME = (0x0002),          /// <summary>Enables usage of the process handle in the CreateRemoteThread function to create a thread in the process.</summary>
13          GET_CONTEXT = (0x0008),          CreateThread = 0x2,
14          SET_CONTEXT = (0x0010),          /// <summary>Enables usage of the process handle as either the source or target process in the DuplicateHandle function to duplicate a handle.</summary>
15          SET_INFORMATION = (0x0020),          DuplicateHandle = 0x40,
16          QUERY_INFORMATION = (0x0040),          /// <summary>Enables usage of the process handle in the GetExitCodeProcess and GetPriorityClass functions to read information from the process object.</summary>
17          SET_THREAD_TOKEN = (0x0080),          QueryInformation = 0x400,
18          IMPERSONATE = (0x0100),          /// <summary>Enables usage of the process handle in the SetPriorityClass function to set the priority class of the process.</summary>
19          DIRECT_IMPERSONATION = (0x0200)          SetInformation = 0x200,
20            /// <summary>Enables usage of the process handle in the TerminateProcess function to terminate the process.</summary>
21            Terminate = 0x1,
22            /// <summary>Enables usage of the process handle in the VirtualProtectEx and WriteProcessMemory functions to modify the virtual memory of the process.</summary>
23            VMOperation = 0x8,
24            /// <summary>Enables usage of the process handle in the ReadProcessMemory function to' read from the virtual memory of the process.</summary>
25            VMRead = 0x10,
26            /// <summary>Enables usage of the process handle in the WriteProcessMemory function to write to the virtual memory of the process.</summary>
27            VMWrite = 0x20,
28            /// <summary>Enables usage of the process handle in any of the wait functions to wait for the process to terminate.</summary>
29            Synchronize = 0x100000
30      }      }
31    
32  }  }

Legend:
Removed from v.89  
changed lines
  Added in v.101

  ViewVC Help
Powered by ViewVC 1.1.22