Share via


THREAD_FIELD_IDS (Windows Embedded CE 6.0)

1/5/2010

This enumeration defines identifiers for thread fields.

Syntax

typedef enum _THREAD_FIELD_IDS {
  tfiStructAddr     = (0L),
  tfiRunState     = (1L),
  tfiAddrSpaceAccessKey    = (2L),
  tfiHandleCurrentProcessRunIn   = (3L),
  tfiSleepCount     = (4L),
  tfiSuspendCount      = (5L),
  tfiCurrentPriority      = (6L),
  tfiInfo      = (7L),
  tfiBasePriority      = (8L),
  tfiWaitState      = (9L),
  tfiHandleOwnerProc      = (10L),
  tfiTlsPtr      = (11L),
  tfiKernelTime     = (12L),
  tfiUserTime     = (13L),
  tfiHandle      = (14L),
  tfiLastError      = (15L),
  tfiStackBase      = (16L),
  tfiStackLowBound     = (17L),
  tfiCreationTimeMSW      = (18L),
  tfiCreationTimeLSW      = (19L),
  tfiQuantum     = (20L),
  tfiQuantumLeft     = (21L),
  tfiPC        = (22L),
  tfiUserDefined     = (-1L)
} THREAD_FIELD_IDS;

Elements

  • tfiStructAddr
    Address to the thread structure.
  • tfiRunState
    States of the thread, including running, sleeping, blocked, and killed.
  • tfiAddrSpaceAccessKey
    Current access key for handles and memory access.
  • tfiHandleCurrentProcessRunIn
    Process thread is running in.
  • tfiSleepCount
    The thread sleep count.
  • tfiSuspendCount
    The thread suspend count.
  • tfiCurrentPriority
    Priority of thread.
  • tfiInfo
    Information status bits.
  • tfiBasePriority
    Base priority.
  • tfiWaitState
    The thread wait state. This value must be one of:

    • Signaled
    • Processing
    • Blocked
  • tfiHandleOwnerProc
    Handle to the process owning the thread.
  • tfiTlsPtr
    Thread local storage (TLS) block pointer.
  • tfiKernelTime
    Accumulated time spend in kernel mode.
  • tfiUserTime
    Accumulated time spend in user mode.
  • tfiHandle
    Thread handle.
  • tfiLastError
    Last error.

    This value is the error that would be returned if the thread were to execute the Win32 API call GetLastError.

  • tfiStackBase
    Stack base address.
  • tfiStackLowBound
    Lower bound of committed stack space.
  • tfiCreationTimeMSW
    MSW of Creation timestamp.
  • tfiCreationTimeLSW
    LSW of Creation timestamp.
  • tfiQuantum
    Quantum.
  • tfiQuantumLeft
    Quantum left.
  • tfiPC
    Program counter or instruction pointer.
  • tfiUserDefined
    User-defined field identified by its label.

Requirements

Header FlexiPMTInfo.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IFlexiPTMInfo Enumerations