MSMCAEvent_Header class

The MSMCAEvent_Header class represents the common header that all MSMCA classes use. The header files are used so that C and C++ code can have a data structure that describes the common header for all events. This class is reserved for internal use. 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_Header
{
  uint32 AdditionalErrors;
  uint32 Cpu;
  uint8  ErrorSeverity;
  uint64 RecordId;
  uint32 Type;
  uint32 LogToEventlog;
};

Members

The MSMCAEvent_Header class has these types of members:

Properties

The MSMCAEvent_Header class has these properties.

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 reports 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

LogToEventlog

Data type: uint32

Access type: Read-only

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

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.

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.

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

WMI C++ Classes