Thread access rights. The following enumerators are defined within the scope of the structure thread_access.

terminate Access to terminate a thread.
suspend_resume Access to suspend a thread.
get_context Access to obtain the context of a thread.
set_context Access to set the context of a thread.
set_information Access to set the priority of a thread.
query_information Access to obtain the priority, selector entry or exit code of a thread.
set_token Access to set the security token of a thread.
impersonate Access to impersonate a thread.
impersonate_direct Access to form a direct impersonation of a thread.
all Defines all possible access to a thread.