Windows
|
[FlagsAttribute] public enum ProcessAccessTypes
Member name | Value | Description |
---|---|---|
PROCESS_TERMINATE | 1 | Enables usage of the process handle in the TerminateProcess function to terminate the process. |
PROCESS_CREATE_THREAD | 2 | Enables usage of the process handle in the CreateRemoteThread function to create a thread in the process. |
PROCESS_SET_SESSIONID | 4 | Sets the session ID. |
PROCESS_VM_OPERATION | 8 | Enables usage of the process handle in the VirtualProtectEx and WriteProcessMemory functions to modify the virtual memory of the process. |
PROCESS_VM_READ | 16 | Enables usage of the process handle in the ReadProcessMemory function to read from the virtual memory of the process. |
PROCESS_VM_WRITE | 32 | Enables usage of the process handle in the WriteProcessMemory function to write to the virtual memory of the process. |
PROCESS_DUP_HANDLE | 64 | Enables usage of the process handle as either the source or target process in the DuplicateHandle function to duplicate a handle. |
PROCESS_CREATE_PROCESS | 128 | Creates a process. |
PROCESS_SET_QUOTA | 256 | Sets quota. |
PROCESS_SET_INFORMATION | 512 | Enables usage of the process handle in the SetPriorityClass function to set the priority class of the process. |
PROCESS_QUERY_INFORMATION | 1,024 | Enables usage of the process handle in the GetExitCodeProcess and GetPriorityClass functions to read information from the process object. |
STANDARD_RIGHTS_REQUIRED | 983,040 | Standard rights required. |
SYNCHRONIZE | 1,048,576 | Enables usage of the process handle in any of the wait functions to wait for the process to terminate. |
PROCESS_ALL_ACCESS | 2,033,663 | Specifies all possible access flags for the process object. |