2OOO, 19 December
THREAD_BASIC_INFORMATION
THREAD_BASIC_INFORMATION
typedef struct _THREAD_BASIC_INFORMATION {
  NTSTATUS                ExitStatus;
  PVOID                   TebBaseAddress;
  CLIENT_ID               ClientId;
  KAFFINITY               AffinityMask;
  KPRIORITY               Priority;
  KPRIORITY               BasePriority;
} THREAD_BASIC_INFORMATION, *PTHREAD_BASIC_INFORMATION;
- ExitStatus     Thread exit status. If
thread is not terminated, it has STATUS_PENDING value. See
also Win32 API GetExitCodeThread.
 
- TebBaseAddress     Address of TEB structure for specified thread. See also
NtCurrentTeb.
 
- ClientId     Unique process id and thread
id.
 
- AffinityMask     Thread affinity mask.
There are no Win32 call GetThreadAffinityMask, but there's
function SetThreadAffinityMask that's use
AffinityMask value. See also
ThreadAffinityMask information class.
 
- BasePriority     Thread base priority. Used
by Kernel32.dll in function
GetThreadPriority. See also 
ThreadBasePriority information class.
 
Structure is used with 
ThreadBasicInformation information class in 
NtQueryInformationThread call.
- Documented by:
 
- Tomasz Nowak
 
 
Requirements:
- Library: ntdll.lib
 
See also:
- 
NtQueryInformationThread
 
- 
THREAD_INFORMATION_CLASS