// ntddk.h
typedef struct _WHEA_PSHED_PLUGIN_CALLBACKS {
PSHED_PI_GET_ALL_ERROR_SOURCES GetAllErrorSources;
PVOID Reserved;
PSHED_PI_GET_ERROR_SOURCE_INFO GetErrorSourceInfo;
PSHED_PI_SET_ERROR_SOURCE_INFO SetErrorSourceInfo;
PSHED_PI_ENABLE_ERROR_SOURCE EnableErrorSource;
PSHED_PI_DISABLE_ERROR_SOURCE DisableErrorSource;
PSHED_PI_WRITE_ERROR_RECORD WriteErrorRecord;
PSHED_PI_READ_ERROR_RECORD ReadErrorRecord;
PSHED_PI_CLEAR_ERROR_RECORD ClearErrorRecord;
PSHED_PI_RETRIEVE_ERROR_INFO RetrieveErrorInfo;
PSHED_PI_FINALIZE_ERROR_RECORD FinalizeErrorRecord;
PSHED_PI_CLEAR_ERROR_STATUS ClearErrorStatus;
PSHED_PI_ATTEMPT_ERROR_RECOVERY AttemptRecovery;
PSHED_PI_GET_INJECTION_CAPABILITIES GetInjectionCapabilities;
PSHED_PI_INJECT_ERROR InjectError;
} WHEA_PSHED_PLUGIN_CALLBACKS, *PWHEA_PSHED_PLUGIN_CALLBACKS;
View the official Windows Driver Kit DDI referenceNo description available.
The WHEA_PSHED_PLUGIN_CALLBACKS structure describes the callback functions for a PSHED plug-in.
GetAllErrorSourcesA pointer to the PSHED plug-in's GetAllErrorSources callback function. If a PSHED plug-in does not participate in error source discovery, this member should be set to NULL.
ReservedReserved for system use. This member should be set to NULL.
GetErrorSourceInfoA pointer to the PSHED plug-in's GetErrorSourceInfo callback function. If a PSHED plug-in does not participate in error source discovery, this member should be set to NULL.
SetErrorSourceInfoA pointer to the PSHED plug-in's SetErrorSourceInfo callback function. If a PSHED plug-in does not participate in error source control, this member should be set to NULL.
EnableErrorSourceA pointer to the PSHED plug-in's EnableErrorSource callback function. If a PSHED plug-in does not participate in error source control, this member should be set to NULL.
DisableErrorSourceA pointer to the PSHED plug-in's DisableErrorSource callback function. If a PSHED plug-in does not participate in error source control, this member should be set to NULL.
WriteErrorRecordA pointer to the PSHED plug-in's WriteErrorRecord callback function. If a PSHED plug-in does not participate in error record persistence, this member should be set to NULL.
ReadErrorRecordA pointer to the PSHED plug-in's ReadErrorRecord callback function. If a PSHED plug-in does not participate in error record persistence, this member should be set to NULL.
ClearErrorRecordA pointer to the PSHED plug-in's ClearErrorRecord callback function. If a PSHED plug-in does not participate in error record persistence, this member should be set to NULL.
RetrieveErrorInfoA pointer to the PSHED plug-in's RetrieveErrorInfo callback function. If a PSHED plug-in does not participate in error information retrieval, this member should be set to NULL.
FinalizeErrorRecordA pointer to the PSHED plug-in's FinalizeErrorRecord callback function. If a PSHED plug-in does not participate in error information retrieval, this member should be set to NULL.
ClearErrorStatusA pointer to the PSHED plug-in's ClearErrorStatus callback function. If a PSHED plug-in does not participate in error information retrieval, this member should be set to NULL.
AttemptRecoveryA pointer to the PSHED plug-in's AttemptRecovery callback function. If a PSHED plug-in does not participate in error recovery, this member should be set to NULL.
GetInjectionCapabilitiesA pointer to the PSHED plug-in's GetInjectionCapabilities callback function. If a PSHED plug-in does not participate in error injection, this member should be set to NULL.
InjectErrorA pointer to the PSHED plug-in's InjectError callback function. If a PSHED plug-in does not participate in error injection, this member should be set to NULL.
A WHEA_PSHED_PLUGIN_CALLBACKS structure is contained within the WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure.
WHEA_PSHED_PLUGIN_REGISTRATION_PACKET