MSMCAEvent_MemoryError class

The MSMCAEvent_MemoryError class represents a Machine Check Architecture (MCA) memory 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_MemoryError : WMIEvent
{
  boolean Active;
  uint32  AdditionalErrors;
  uint64  BUS_SPECIFIC_DATA;
  uint32  Cpu;
  uint8   ErrorSeverity;
  string  InstanceName;
  uint16  MEM_BANK;
  uint16  MEM_BIT_POSITION;
  uint16  MEM_CARD;
  uint16  MEM_COLUMN;
  uint64  MEM_ERROR_STATUS;
  uint16  MEM_MODULE;
  uint16  MEM_NODE;
  uint64  MEM_PHYSICAL_ADDR;
  uint64  MEM_PHYSICAL_MASK;
  uint16  MEM_ROW;
  uint8   RawRecord[];
  uint64  RecordId;
  uint64  REQUESTOR_ID;
  uint64  RESPONDER_ID;
  uint32  Size;
  uint64  TARGET_ID;
  uint32  Type;
  uint64  VALIDATION_BITS;
  uint16  MEM_DEVICE;
  uint32  LogToEventlog;
};

Members

The MSMCAEvent_MemoryError class has these types of members:

Properties

The MSMCAEvent_MemoryError 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.

BUS_SPECIFIC_DATA

Data type: uint64

Access type: Read-only

OEM-specific, bus-dependent data.

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

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 of this instance of the class.

LogToEventlog

Data type: uint32

Access type: Read-only

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

MEM_BANK

Data type: uint16

Access type: Read-only

The Module or RANK number of the memory error location.

MEM_BIT_POSITION

Data type: uint16

Access type: Read-only

Bit position in the memory word that contains the error.

MEM_CARD

Data type: uint16

Access type: Read-only

Card number of the memory error location.

MEM_COLUMN

Data type: uint16

Access type: Read-only

Column number of the memory error location.

MEM_DEVICE

Data type: uint16

Access type: Read-only

Device number of the memory error location.

MEM_ERROR_STATUS

Data type: uint64

Access type: Read-only

Memory error status.

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

MEM_MODULE

Data type: uint16

Access type: Read-only

Module or rank number of the memory error location.

MEM_NODE

Data type: uint16

Access type: Read-only

Node that contains the memory error. This property applies only in a multi-node system. This property is vendor-specific.

MEM_PHYSICAL_ADDR

Data type: uint64

Access type: Read-only

Physical address of the memory error.

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

MEM_PHYSICAL_MASK

Data type: uint64

Access type: Read-only

Valid address bits in the 64-bit physical address of the memory error.

Note

The physical mask specifies the granularity of the physical address. The physical address of the memory error is dependent on hardware implementation factors.

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

MEM_ROW

Data type: uint16

Access type: Read-only

Row number of the memory error location.

RawRecord

Data type: uint8 array

Access type: Read-only

Array of bytes that contains the raw error record as presented to Windows by the system abstraction layer (SAL). The number of elements in the array is specified by the Size property.

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.

REQUESTOR_ID

Data type: uint64

Access type: Read-only

Hardware address of the device or component that initiates the transaction.

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

RESPONDER_ID

Data type: uint64

Access type: Read-only

Hardware address of the responder to the transaction.

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.

TARGET_ID

Data type: uint64

Access type: Read-only

Hardware address of the intended target of the transaction.

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.

VALIDATION_BITS

Data type: uint64

Access type: Read-only

Validation bits used to indicate the validity of the subsequent fields.

Values Meaning
1 (0x1)
MEM_ERROR_STATUS is valid.
2 (0x2)
MEM_PHYSICAL_ADDR is valid.
4 (0x4)
MEM_ADDR_MASK is valid.
8 (0x8)
MEM_NODE is valid.
16 (0x10)
MEM_CARD is valid.
32 (0x20)
MEM_MODULE is valid.
64 (0x40)
MEM_BANK is valid.
128 (0x80)
MEM_DEVICE is valid.
256 (0x100)
MEM_ROW is valid.
512 (0x200)
MEM_COLUMN is valid.
1024 (0x400)
MEM_BIT_POSITION is valid.
2048 (0x800)
MEM_PLATFORM_REQUESTOR_ID is valid.
4096 (0x1000)
MEM_PLATFORM_RESPONDER_ID is valid.
8192 (0x2000)
MEM_PLATFORM_TARGET is valid.
16384 (0x4000)
MEM_PLATFORM_BUS_SPECIFIC_DATA is valid.
32768 (0x8000)
MEM_PLATFORM_OEM_ID is valid.
65536 (0x10000)
MEM_PLATFORM_OEM_DATA_STRUCT is valid.

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

Remarks

The MSMCAEvent_MemoryError 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