HWConfig class

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