// ntddk.h
typedef struct _WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {
ULONG Length;
ULONG Version;
PVOID Context;
ULONG FunctionalAreaMask;
ULONG Reserved;
WHEA_PSHED_PLUGIN_CALLBACKS Callbacks;
} WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1;
View the official Windows Driver Kit DDI referenceNo description available.
Reserved for system use. The WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 structure describes the data required for registering a PSHED plug-in with the PSHED.
LengthVersionThe version of the WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure. V1 PSHED plug-ins must set this member to WHEA_PLUGIN_REGISTRATION_PACKET_V1.
ContextA PSHED plug-in-supplied context area that is passed to the PSHED plug-in's callback functions.
FunctionalAreaMaskA bit-wise OR'ed combination of flags that specifies the functional areas in which the PSHED plug-in participates. Possible flags are:
ReservedReserved for system use. PSHED plug-ins should set this member to zero.
CallbacksA WHEA_PSHED_PLUGIN_CALLBACKS structure that describes the callback functions for the PSHED plug-in.
V1 plugins do not allow for unregistering. If you try to unregister, a bugcheck may occur.