WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 structure (ntddk.h)

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.

Syntax

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;

Members

Length

The size, in bytes, of the WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure.

Version

The 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.

Context

A PSHED plug-in-supplied context area that is passed to the PSHED plug-in's callback functions.

FunctionalAreaMask

A bit-wise OR'ed combination of flags that specifies the functional areas in which the PSHED plug-in participates. Possible flags are:

Reserved

Reserved for system use. PSHED plug-ins should set this member to zero.

Callbacks

A WHEA_PSHED_PLUGIN_CALLBACKS structure that describes the callback functions for the PSHED plug-in.

PluginHandle

V2 plugins can be unregistered via the PluginHandle. Save this for unregistering. Only V2 plugins have the ability to be unregistered.

Remarks

V2 plugins are the default. If you are creating a new PSHED plugin, create a V2 plugin.

Requirements

Requirement Value
Header ntddk.h