Развернуть Свернуть

WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure

The WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure describes the data required for registering a PSHED plug-in with the PSHED.

Syntax


typedef struct _WHEA_PSHED_PLUGIN_REGISTRATION_PACKET {
  ULONG                       Length;
  ULONG                       Version;
  PVOID                       Context;
  ULONG                       FunctionalAreaMask;
  ULONG                       Reserved;
  WHEA_PSHED_PLUGIN_CALLBACKS Callbacks;
} WHEA_PSHED_PLUGIN_REGISTRATION_PACKET, *PWHEA_PSHED_PLUGIN_REGISTRATION_PACKET;

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.

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:

PshedFADiscovery

The PSHED plug-in participates in error source discovery.

PshedFAErrorSourceControl

The PSHED plug-in participates in error source control.

PshedFAErrorRecordPersistence

The PSHED plug-in participates in error record persistence.

PshedFAErrorInfoRetrieval

The PSHED plug-in participates in error information retrieval.

PshedFAErrorRecovery

The PSHED plug-in participates in error recovery.

PshedFAErrorInjection

The PSHED plug-in participates in error injection.

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.

Remarks

A PSHED plug-in passes an initialized WHEA_PSHED_PLUGIN_REGISTRATION_PACKET structure to the PshedRegisterPlugin function when it registers itself with the PSHED.

Requirements

Version

Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows.

Header

Ntddk.h (include Ntddk.h)

See also

PshedRegisterPlugin
WHEA_PSHED_PLUGIN_CALLBACKS

 

 

Send comments about this topic to Microsoft

Показ:
© 2015 Microsoft