WHEA_PSHED_PLUGIN_CALLBACKS structure (ntddk.h)
The WHEA_PSHED_PLUGIN_CALLBACKS structure describes the callback functions for a PSHED plug-in.
Syntax
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;
Members
GetAllErrorSources
A 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.
Reserved
Reserved for system use. This member should be set to NULL.
GetErrorSourceInfo
A 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.
SetErrorSourceInfo
A 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.
EnableErrorSource
A 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.
DisableErrorSource
A 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.
WriteErrorRecord
A 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.
ReadErrorRecord
A 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.
ClearErrorRecord
A 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.
RetrieveErrorInfo
A 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.
FinalizeErrorRecord
A 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.
ClearErrorStatus
A 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.
AttemptRecovery
A 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.
GetInjectionCapabilities
A 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.
InjectError
A 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.
Remarks
A WHEA_PSHED_PLUGIN_CALLBACKS structure is contained within the WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure.
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) |