The valid access rights for process objects are STANDARD_RIGHTS_REQUIRED and the rights given in the following table.
Value | Meaning |
PROCESS_ALL_ACCESS | Specifies all possible access rights for a process object. |
PROCESS_CREATE_PROCESS | Required to create a process. |
PROCESS_CREATE_THREAD | Required to create a thread. |
PROCESS_DUP_HANDLE | Required to duplicate a handle. |
PROCESS_QUERY_INFORMATION | Required to retrieve certain information about a process, such as its priority class. |
PROCESS_SET_INFORMATION | Required to set certain information about a process, such as its priority class. |
PROCESS_TERMINATE | Required to terminate a process. |
PROCESS_VM_OPERATION | Required to perform an operation on the address space of a process. |
PROCESS_VM_READ | Required to read memory in a process. |
PROCESS_VM_WRITE | Required to write to memory in a process. |
SYNCHRONIZE | Required to wait for the process to terminate. |
The handle returned by the CreateProcess function has PROCESS_ALL_ACCESS access to the process object.
For more information about processes, see Processes and Threads.