大网数据广告活动
性能与资源

Thread_TypeGroup1 class

· 52CE 我爱测

Thread_TypeGroup1 class - This class is the event type class for thread start and end events. The following syntax is simplified from MOF code.

This class is the event type class for thread start and end events.

The following syntax is simplified from MOF code.

Syntax

[EventType{1, 2, 3, 4}, EventTypeName{"Start", "End", "DCStart", "DCEnd"}]
class Thread_TypeGroup1 : Thread
{
  uint32 ProcessId;
  uint32 TThreadId;
  uint32 StackBase;
  uint32 StackLimit;
  uint32 UserStackBase;
  uint32 UserStackLimit;
  uint32 Affinity;
  uint32 Win32StartAddr;
  uint32 TebBase;
  uint32 SubProcessTag;
  uint8  BasePriority;
  uint8  PagePriority;
  uint8  IoPriority;
  uint8  ThreadFlags;
};

Members

The Thread_TypeGroup1 class has these types of members:

Properties

The Thread_TypeGroup1 class has these properties.

Affinity

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(7), Pointer

The set of processors on which the thread is allowed to run.

BasePriority

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(11)

The scheduler priority of the thread (see the SetThreadPriority function).

IoPriority

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(13)

An IO priority hint for scheduling IOs generated by the thread.

PagePriority

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(12)

A memory page priority hint for memory pages accessed by the thread.

ProcessId

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(1), Format("x")

Process identifier of the thread involved in the event.

StackBase

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(3), Pointer

Base address of the thread's stack.

StackLimit

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(4), Pointer

Limit of the thread's stack.

SubProcessTag

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(10), Format("x")

Identifies the service if the thread is owned by a service; otherwise, zero.

TebBase

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(9), Pointer

Thread environment block base address.

ThreadFlags

Data type: uint8

Access type: Read-only

Qualifiers: WmiDataId(14)

Not used.

TThreadId

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(2), Format("x")

Thread identifier of the thread involved in the event.

UserStackBase

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(5), Pointer

Base address of the thread's user-mode stack.

UserStackLimit

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(6), Pointer

Limit of the thread's user-mode stack.

Win32StartAddr

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(8), Pointer

Starting address of the function to be executed by this thread.

Remarks

The DCStart and DCEnd event types enumerate the threads that are currently running at the time the kernel session starts and ends, respectively.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]

See also

Thread

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。