typedef struct _QTHREADINFO2 { ULONG QTI_length; ULONG QTI_tid; /* Thread ID. */ ULONG QTI_ordinal; /* Thread ordinal number. */ ULONG QTI_tib; /* Task info block. */ ULONG QTI_priority; /* Thread priority. */ ULONG QTI_maxpriority; /* Maximum priority. */ ULONG QTI_sleep; /* Sleep time in seconds. */ ULONG QTI_suspendcount; /* Suspend count. */ ULONG QTI_state; /* Thread state. */ ULONG QTI_flags; /* Thread flags. */ ULONG QTI_wait; /* Wait value. */ ULONG QTI_usertime; /* User time in milliseconds. */ ULONG QTI_systemtime; /* System time in milliseconds. */ } QTHREADINFO2; typedef QTHREADINFO2 * QTHREADINFO2 ;