MSMCAEvent_CPUError class

The MSMCAEvent_CPUError class represents a CPU error event. This class is available only in 64-bit Windows systems.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class MSMCAEvent_CPUError : WmiEvent
{
  boolean Active;
  uint32  AdditionalErrors;
  uint32  Cpu;
  uint8   ErrorSeverity;
  string  InstanceName;
  uint32  Level;
  uint8   RawRecord[];
  uint64  RecordId;
  uint32  Size;
  uint32  Type;
  uint32  LogToEventlog;
};

Members

The MSMCAEvent_CPUError class has these types of members:

Properties

The MSMCAEvent_CPUError class has these properties.

Active

Data type: boolean

Access type: Read-only

TRUE, if this instance of the class is active; otherwise FALSE.

AdditionalErrors

Data type: uint32

Access type: Read-only

Number of additional errors in the MCA record.

Cpu

Data type: uint32

Access type: Read-only

CPU that reported the error. This property only applies to a multiprocessor system in which the first processor is assigned the number 0, the second processor is assigned the number 1, and so on.

ErrorSeverity

Data type: uint8

Access type: Read-only

Severity level of the error reported.

Value Meaning
0
Recoverable
1
Fatal
2
Correctable

InstanceName

Data type: string

Access type: Read-only

Qualifiers: Key

Unique identifier for this instance of the class.

Level

Data type: uint32

Access type: Read-only

Qualifiers: WmiMissingData (-1)

Level of cache, translation buffer (TLB), or micro-architectural structure where the error occurred. A value of 0 (zero) indicates the first level.

LogToEventlog

Data type: uint32

Access type: Read-only

If zero then this event is not logged to the system event log.

RawRecord

Data type: uint8 array

Access type: Read-only

Array of bytes that contains the raw error record. The number of elements in the array that the Size property specifies.

RecordId

Data type: uint64

Access type: Read-only

Record identifier of the error record for this error.

For more information about using uint64 values in scripts, see Scripting in WMI.

Size

Data type: uint32

Access type: Read-only

Size of the raw error record in bytes.

Type

Data type: uint32

Access type: Read-only

Type of event log message. These messages correspond to the event log message codes used to insert event log messages by the Windows event log consumer provider when it receives one of the events.

Remarks

The MSMCAEvent_CPUError class is derived from WMIEvent.

Requirements

Requirement Value
Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
Namespace
Root\wmi
MOF
Wmicore.mof
DLL
Wmiprov.dll

See also

MSMCA Classes

WMIEvent