![]() | |
Thread |
Member name | Value | Description |
---|---|---|
Terminate | 1 | Required to terminate a thread using TerminateThread. |
SuspendResume | 2 | Required to suspend or resume a thread (see SuspendThread and ResumeThread). |
GetContext | 8 | Required to read the context of a thread using GetThreadContext. |
SetContext | 16 | Required to write the context of a thread using SetThreadContext. |
SetInformation | 32 | Required to set certain information in the thread object. |
QueryInformation | 64 | Required to read certain information from the thread object, such as the exit code (see GetExitCodeThread). |
SetThreadToken | 128 | Required to set the impersonation token for a thread using SetThreadToken. |
Impersonate | 256 | Required to use a thread's security information directly without calling it by using a communication mechanism that provides impersonation services. |
DirectImpersonation | 512 | Required for a server thread that impersonates a client. |
SetLimitedInformation | 1,024 | Required to set certain information in the thread object. A handle that has the access right is automatically granted . |
QueryLimitedInformation | 2,048 | Required to read certain information from the thread objects (see GetProcessIdOfThread). A handle that has the access right is automatically granted . |
Synchronize | 1,048,576 | Enables the use of the thread handle in any of the wait functions. |
All | 1,052,667 | All possible access rights for a thread object. |