NetDeviceInitSetResetCapabilities function (netadaptercx.h)
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 |
Header | netadaptercx.h (include netadaptercx.h) |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for