Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NetDeviceInitSetResetCapabilities function registers a client driver's NET_DEVICE_RESET_CAPABILITIES to the NetAdapterCx framework.
Syntax
void NetDeviceInitSetResetCapabilities(
[_Inout_] PWDFDEVICE_INIT DeviceInit,
[_In_] const NET_DEVICE_RESET_CAPABILITIES *ResetCapabilities
);
Parameters
[_Inout_] DeviceInit
A pointer to a WDFDEVICE_INIT object that the client driver received in its EVT_WDF_DRIVER_DEVICE_ADD callback.
[_In_] ResetCapabilities
A pointer to a client driver allocated and initialized NET_DEVICE_RESET_CAPABILITIES structure.
Return value
None
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.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 11 |
| Minimum supported server | Windows Server 2022 |
| Minimum UMDF version | 2.33 |
| Header | netadaptercx.h (include netadaptercx.h) |
| IRQL | PASSIVE_LEVEL |