// ntddk.h
typedef struct _WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {
ULONG Length;
ULONG Version;
PVOID Context;
ULONG FunctionalAreaMask;
ULONG Reserved;
WHEA_PSHED_PLUGIN_CALLBACKS Callbacks;
PVOID PluginHandle;
} WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2;
View the official Windows Driver Kit DDI referenceNo description available.
Reserved for system use. The WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 structure describes the data required for registering a PSHED plug-in with the PSHED.
LengthThe size, in bytes, of the WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure.
VersionThe version of the WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure. PSHED plug-ins must set this member to WHEA_PLUGIN_REGISTRATION_PACKET_VERSION, which will be set to the default WHEA_PLUGIN_REGISTRATION_PACKET_V2.
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.
PluginHandleV2 plugins can be unregistered via the PluginHandle. Save this for unregistering. Only V2 plugins have the ability to be unregistered.
V2 plugins are the default. If you are creating a new PSHED plugin, create a V2 plugin.