Edit

WHEA_ERROR_INJECTION_CAPABILITIES union (ntddk.h)

The WHEA_ERROR_INJECTION_CAPABILITIES union describes the types of hardware errors that can be injected into a hardware platform.

Syntax

typedef union _WHEA_ERROR_INJECTION_CAPABILITIES {
  struct {
    ULONG ProcessorCorrectable : 1;
    ULONG ProcessorUncorrectableNonFatal : 1;
    ULONG ProcessorUncorrectableFatal : 1;
    ULONG MemoryCorrectable : 1;
    ULONG MemoryUncorrectableNonFatal : 1;
    ULONG MemoryUncorrectableFatal : 1;
    ULONG PCIExpressCorrectable : 1;
    ULONG PCIExpressUncorrectableNonFatal : 1;
    ULONG PCIExpressUncorrectableFatal : 1;
    ULONG PlatformCorrectable : 1;
    ULONG PlatformUncorrectableNonFatal : 1;
    ULONG PlatformUncorrectableFatal : 1;
    ULONG CXLCacheProtocolCorrectable : 1;
    ULONG CXLCacheProtocolUncorrectableNonFatal : 1;
    ULONG CXLCacheProtocolUncorrectableFatal : 1;
    ULONG CXLMemProtocolCorrectable : 1;
    ULONG CXLMemProtocolUncorrectableNonFatal : 1;
    ULONG CXLMemProtocolUncorrectableFatal : 1;
    ULONG Reserved : 13;
    ULONG PlatformVendorDefined : 1;
  } DUMMYSTRUCTNAME;
  ULONG  AsULONG;
} WHEA_ERROR_INJECTION_CAPABILITIES, *PWHEA_ERROR_INJECTION_CAPABILITIES;

Members

DUMMYSTRUCTNAME

DUMMYSTRUCTNAME.ProcessorCorrectable

A single bit that indicates that a correctable processor error can be injected into the hardware platform.

DUMMYSTRUCTNAME.ProcessorUncorrectableNonFatal

A single bit that indicates that an uncorrectable nonfatal processor error can be injected into the hardware platform.

DUMMYSTRUCTNAME.ProcessorUncorrectableFatal

A single bit that indicates that an uncorrectable fatal processor error can be injected into the hardware platform.

DUMMYSTRUCTNAME.MemoryCorrectable

A single bit that indicates that a correctable memory error can be injected into the hardware platform.

DUMMYSTRUCTNAME.MemoryUncorrectableNonFatal

A single bit that indicates that an uncorrectable nonfatal memory error can be injected into the hardware platform.

DUMMYSTRUCTNAME.MemoryUncorrectableFatal

A single bit that indicates that an uncorrectable fatal memory error can be injected into the hardware platform.

DUMMYSTRUCTNAME.PCIExpressCorrectable

A single bit that indicates that a correctable PCI Express (PCIe) error can be injected into the hardware platform.

DUMMYSTRUCTNAME.PCIExpressUncorrectableNonFatal

A single bit that indicates that an uncorrectable nonfatal PCI Express (PCIe) error can be injected into the hardware platform.

DUMMYSTRUCTNAME.PCIExpressUncorrectableFatal

A single bit that indicates that an uncorrectable fatal PCI Express (PCIe) error can be injected into the hardware platform.

DUMMYSTRUCTNAME.PlatformCorrectable

A single bit that indicates that a correctable platform error can be injected into the hardware platform.

DUMMYSTRUCTNAME.PlatformUncorrectableNonFatal

A single bit that indicates that an uncorrectable nonfatal platform error can be injected into the hardware platform.

DUMMYSTRUCTNAME.PlatformUncorrectableFatal

A single bit that indicates that an uncorrectable fatal platform error can be injected into the hardware platform.

DUMMYSTRUCTNAME.CXLCacheProtocolCorrectable

DUMMYSTRUCTNAME.CXLCacheProtocolUncorrectableNonFatal

DUMMYSTRUCTNAME.CXLCacheProtocolUncorrectableFatal

DUMMYSTRUCTNAME.CXLMemProtocolCorrectable

DUMMYSTRUCTNAME.CXLMemProtocolUncorrectableNonFatal

DUMMYSTRUCTNAME.CXLMemProtocolUncorrectableFatal

DUMMYSTRUCTNAME.Reserved

Reserved for system use.

DUMMYSTRUCTNAME.PlatformVendorDefined

AsULONG

A ULONG representation of the contents of the WHEA_ERROR_INJECTION_CAPABILITIES union.

Remarks

A user-mode WHEA management application calls the WHEAErrorInjectionMethods::GetErrorInjectionCapabilitiesRtn method to retrieve a WHEA_ERROR_INJECTION_CAPABILITIES union that describes the types of hardware errors that can be injected into the hardware platform. If a PSHED plug-in is registered to participate in error injection, the PSHED plug-in's GetInjectionCapabilities callback function is called to provide this information back to the calling application. The application uses this information when it calls the WHEAErrorInjectionMethods::InjectErrorRtn method to inject a hardware error into the hardware platform.

Requirements

Requirement Value
Minimum supported client Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows.
Header ntddk.h (include Ntddk.h)

See also

GetInjectionCapabilities

WHEAErrorInjectionMethods::GetErrorInjectionCapabilitiesRtn

WHEAErrorInjectionMethods::InjectErrorRtn