NetDeviceInitSetResetCapabilities - NtDoc

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

void NetDeviceInitSetResetCapabilities(
  [_Inout_] PWDFDEVICE_INIT                     DeviceInit,
  [_In_]    const NET_DEVICE_RESET_CAPABILITIES *ResetCapabilities
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netdevice-netdeviceinitsetresetcapabilities)

Description

The NetDeviceInitSetResetCapabilities function registers a client driver's NET_DEVICE_RESET_CAPABILITIES to the NetAdapterCx framework.

Parameters

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.

Remarks

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.

See also

Recovering an unresponsive NIC with NetAdapterCx PLDR

EVT_WDF_DRIVER_DEVICE_ADD

NET_DEVICE_RESET_CAPABILITIES

NET_DEVICE_RESET_CAPABILITIES_INIT