// ntddk.h
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 IA64Corrected : 1;
ULONG IA64Recoverable : 1;
ULONG IA64Fatal : 1;
ULONG IA64RecoverableCache : 1;
ULONG IA64RecoverableRegFile : 1;
ULONG Reserved : 15;
} DUMMYSTRUCTNAME;
ULONG AsULONG;
} WHEA_ERROR_INJECTION_CAPABILITIES, *PWHEA_ERROR_INJECTION_CAPABILITIES;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_ERROR_INJECTION_CAPABILITIES union describes the types of hardware errors that can be injected into a hardware platform.
DUMMYSTRUCTNAMEDUMMYSTRUCTNAME.ProcessorCorrectableA single bit that indicates that a correctable processor error can be injected into the hardware platform.
DUMMYSTRUCTNAME.ProcessorUncorrectableNonFatalA single bit that indicates that an uncorrectable nonfatal processor error can be injected into the hardware platform.
DUMMYSTRUCTNAME.ProcessorUncorrectableFatalA single bit that indicates that an uncorrectable fatal processor error can be injected into the hardware platform.
DUMMYSTRUCTNAME.MemoryCorrectableA single bit that indicates that a correctable memory error can be injected into the hardware platform.
DUMMYSTRUCTNAME.MemoryUncorrectableNonFatalA single bit that indicates that an uncorrectable nonfatal memory error can be injected into the hardware platform.
DUMMYSTRUCTNAME.MemoryUncorrectableFatalA single bit that indicates that an uncorrectable fatal memory error can be injected into the hardware platform.
DUMMYSTRUCTNAME.PCIExpressCorrectableA single bit that indicates that a correctable PCI Express (PCIe) error can be injected into the hardware platform.
DUMMYSTRUCTNAME.PCIExpressUncorrectableNonFatalA single bit that indicates that an uncorrectable nonfatal PCI Express (PCIe) error can be injected into the hardware platform.
DUMMYSTRUCTNAME.PCIExpressUncorrectableFatalA single bit that indicates that an uncorrectable fatal PCI Express (PCIe) error can be injected into the hardware platform.
DUMMYSTRUCTNAME.PlatformCorrectableA single bit that indicates that a correctable platform error can be injected into the hardware platform.
DUMMYSTRUCTNAME.PlatformUncorrectableNonFatalA single bit that indicates that an uncorrectable nonfatal platform error can be injected into the hardware platform.
DUMMYSTRUCTNAME.PlatformUncorrectableFatalA single bit that indicates that an uncorrectable fatal platform error can be injected into the hardware platform.
DUMMYSTRUCTNAME.IA64CorrectedA single bit that indicates that a corrected IA64 error can be injected into the hardware platform.
DUMMYSTRUCTNAME.IA64RecoverableA single bit that indicates that a recoverable IA64 error can be injected into the hardware platform.
DUMMYSTRUCTNAME.IA64FatalA single bit that indicates that a fatal IA64 error can be injected into the hardware platform.
DUMMYSTRUCTNAME.IA64RecoverableCacheA single bit that indicates that a recoverable IA64 cache error can be injected into the hardware platform.
DUMMYSTRUCTNAME.IA64RecoverableRegFileA single bit that indicates that a recoverable IA64 register file error can be injected into the hardware platform.
DUMMYSTRUCTNAME.ReservedReserved for system use.
AsULONGA ULONG representation of the contents of the WHEA_ERROR_INJECTION_CAPABILITIES union.
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.
WHEAErrorInjectionMethods::GetErrorInjectionCapabilitiesRtn
WHEAErrorInjectionMethods::InjectErrorRtn