WHEA_RECOVERY_CONTEXT 结构 (ntddk.h)

预留给系统使用。

语法

typedef struct _WHEA_RECOVERY_CONTEXT {
  union {
    struct {
      ULONG_PTR Address;
      BOOLEAN   Consumed;
      UINT16    ErrorCode;
      BOOLEAN   ErrorIpValid;
      BOOLEAN   RestartIpValid;
      BOOLEAN   ClearPoison;
    } MemoryError;
    struct {
      ULONG_PTR PmemErrInfo;
    } PmemError;
  };
  UINT64                           PartitionId;
  UINT32                           VpIndex;
  WHEA_RECOVERY_CONTEXT_ERROR_TYPE ErrorType;
  ULONG                            PageCount;
  WHEA_RECOVERY_CONTEXT_PAGE_INFO  PageInfo[WHEA_PFA_PAGE_RANGE_MAX];
} WHEA_RECOVERY_CONTEXT, *PWHEA_RECOVERY_CONTEXT;

成员

MemoryError

MemoryError.Address

MemoryError.Consumed

MemoryError.ErrorCode

MemoryError.ErrorIpValid

MemoryError.RestartIpValid

MemoryError.ClearPoison

PmemError

PmemError.PmemErrInfo

PartitionId

VpIndex

ErrorType

PageCount

PageInfo[WHEA_PFA_PAGE_RANGE_MAX]

要求

要求
Header ntddk.h