ProcessAccessRights Enumeration
Specifies process-specific access rights.
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum ProcessAccessRights
<FlagsAttribute>
Public Enumeration ProcessAccessRights
Dim instance As ProcessAccessRights
[FlagsAttribute]
public enum class ProcessAccessRights
[<FlagsAttribute>]
type ProcessAccessRights
No code example is currently available or this language may not be supported.
Terminate |
1 |
Required to terminate a process using TerminateProcess(IntPtr, UInt32).
|
CreateThread |
2 |
Required to create a thread.
|
SetSessionId |
4 |
|
VirtualMemoryOperation |
8 |
Required to perform an operation on the address space of a process.
|
VirtualMemoryRead |
16 |
Required to read memory in a process using ReadProcessMemory(SafeProcessHandle, IntPtr, Byte, IntPtr, IntPtr) function.
|
VirtualMemoryWrite |
32 |
Required to write to memory in a process using WriteProcessMemory(IntPtr, IntPtr, Byte, IntPtr, IntPtr) function.
|
DuplicateHandle |
64 |
Required to duplicate a handle using DuplicateHandle(IntPtr, IntPtr, IntPtr, IntPtr, GenericAccessRights, Boolean, DuplicateHandleOptions) function.
|
CreateProcess |
128 |
Required to create a process.
|
SetQuota |
256 |
Required to set memory limits using SetProcessWorkingSetSize(IntPtr, IntPtr, IntPtr) function.
|
SetInformation |
512 |
Required to set certain information about a process, such as its priority class.
|
QueryInformation |
1,024 |
Required to retrieve certain information about a process, such as its token, exit code, and priority class.
|
SuspendResume |
2,048 |
Required to suspend or resume a process.
|
QueryLimitedInformation |
4,096 |
Required to retrieve certain information about a process.
Note that a handle that has the QueryInformation access right
is automatically granted QueryLimitedInformation.
|
Delete |
65,536 |
Required to delete the object.
|
ReadControl |
131,072 |
Required to read information in the security descriptor for the object, not including the information in the SACL.
To read or write the SACL, you must request the ACCESS_SYSTEM_SECURITY access right.
|
WriteDac |
262,144 |
Required to modify the DACL in the security descriptor for the object.
|
WriteOwner |
524,288 |
Required to change the owner in the security descriptor for the object.
|
StandardRightsRequired |
983,040 |
Combines Delete,
ReadControl, WriteDac, and
WriteOwner access.
|
Synchronize |
1,048,576 |
Required to wait for the process to terminate using the wait functions.
|
AllAccess |
2,097,151 |
Combines all possible access rights for a process object.
|