ThreadAccessRights Enumeration
Specifies thread-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 ThreadAccessRights
<FlagsAttribute>
Public Enumeration ThreadAccessRights
Dim instance As ThreadAccessRights
[FlagsAttribute]
public enum class ThreadAccessRights
[<FlagsAttribute>]
type ThreadAccessRights
No code example is currently available or this language may not be supported.
Terminate |
1 |
Required to terminate a thread
using TerminateThread(SafeAccessTokenHandle, UInt32) function.
|
SuspendResume |
2 |
Required to suspend or resume a thread
using SuspendThread32(SafeAccessTokenHandle),
SuspendThread64(SafeAccessTokenHandle) and ResumeThread(SafeAccessTokenHandle) functions.
|
GetContext |
8 |
Required to read the context of a thread using GetThreadContext function.
|
SetContext |
16 |
Required to write the context of a thread using SetThreadContext function.
|
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 using GetExitCodeThread(IntPtr, UInt32) function.
|
SetThreadToken |
128 |
Required to set the impersonation token for a thread
using SetThreadToken function.
|
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 SetInformation access right
is automatically granted SetLimitedInformation.
|
QueryLimitedInformation |
2,048 |
Required to read certain information from the thread objects.
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.
|
Synchronize |
1,048,576 |
The right to use the object for synchronization.
This enables a thread to wait until the object is in the signaled state.
|