// netdevice.h
void NetDeviceInitSetResetCapabilities(
[_Inout_] PWDFDEVICE_INIT DeviceInit,
[_In_] const NET_DEVICE_RESET_CAPABILITIES *ResetCapabilities
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetDeviceInitSetResetCapabilities function registers a client driver's NET_DEVICE_RESET_CAPABILITIES to the NetAdapterCx framework.
DeviceInit [_Inout_]A pointer to a WDFDEVICE_INIT object that the client driver received in its EVT_WDF_DRIVER_DEVICE_ADD callback.
ResetCapabilities [_In_]A pointer to a client driver allocated and initialized NET_DEVICE_RESET_CAPABILITIES structure.
A client driver typically calls the NetDeviceInitSetResetCapabilities function in its EVT_WDF_DRIVER_DEVICE_ADD callback.
Before calling this function, the client driver must initialize NET_DEVICE_RESET_CAPABILITIES by calling the NET_DEVICE_RESET_CAPABILITIES_INIT function.
Recovering an unresponsive NIC with NetAdapterCx PLDR
NET_DEVICE_RESET_CAPABILITIES_INIT