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

HWConfig class

· 52CE 我爱测

The HWConfig class is the parent class for hardware configuration events on Windows XP. The following syntax is simplified from MOF code.

The HWConfig class is the parent class for hardware configuration events on Windows XP.

The following syntax is simplified from MOF code.

Syntax

[Guid("{01853a65-418f-4f36-aefc-dc0f1d2fd235}")]
class HWConfig : MSNT_SystemTrace
{
};

Members

The HWConfig class does not define any members.

Remarks

These events provide the hardware configuration of the computer. Unlike other NT Kernel Logger events, the kernel session automatically generates hardware configuration events; you do not enable these events when starting the NT Kernel Logger session.

Windows 2000: Not supported.

For hardware configuration events on Windows Vista and Windows Server 2003, see the SystemConfig class.

Event trace consumers can implement special processing for hardware configuration events by calling the SetTraceCallback function and specifying EventTraceConfigGuid as the pGuid parameter. Use the following event types to identify the actual hardware configuration event when consuming events.

Event type Description
EVENT_TRACE_TYPE_CONFIG_CPU(Event type value is 10) CPU configuration event. The HWConfig_CPU MOF classes defines the event data for this event.
EVENT_TRACE_TYPE_CONFIG_LOGICALDISK(Event type value is 12) Logical disk configuration event. The HWConfig_LogDisk MOF classes MOF class defines the event data for this event.
EVENT_TRACE_TYPE_CONFIG_NIC(Event type value is 13) NIC configuration event. The HWConfig_NIC MOF classes defines the event data for this event.
EVENT_TRACE_TYPE_CONFIG_PHYSICALDISK(Event type value is 11) Physical disk configuration event. The HWConfig_PhyDisk MOF classes defines the event data for this event.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported

See also

MSNT_SystemTrace

HWConfig_CPU

HWConfig_LogDisk

HWConfig_NIC

HWConfig_PhyDisk

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)

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

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