EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netdevice.h

EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS EvtNetDeviceCollectResetDiagnostics;

void EvtNetDeviceCollectResetDiagnostics(
  [_In_] WDFDEVICE Device
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-netdevice-evt_net_device_collect_reset_diagnostics)

EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS callback function

Description

Implement this optional callback to collect diagnostics from a failed hardware device and report it to the NetAdapterCx framework during the device reset and recovery process.

Parameters

Device [_In_]

The WDFDEVICE object that the client driver previously obtained with a call to WdfDeviceCreate.

Remarks

If provided, the NetAdapterCx framework invokes the EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS callback to collect reset diagnostics during the reset and recovery process. The framework always invokes this callback at PASSIVE_LEVEL.

The EvtNetDeviceCollectResetDiagnostics field of the NET_DEVICE_RESET_CAPABILITIES data structure refers to this callback.

To learn how to correctly implement this callback and for more information about the framework's synchronization guarantee, see Implement EVT_NET_DEVICE_COLLECT_RESET_DIAGNOSTICS.

See also

Recovering an unresponsive NIC with NetAdapterCx PLDR

WdfDeviceCreate

NET_DEVICE_RESET_CAPABILITIES