Bewerken

Delen via


NetAdapterPowerOffloadSetNSCapabilities function (netadapter.h)

The NetAdapterPowerOffloadSetNsCapabilities function sets a net adapter's capabilities for IPv6 Neighbor Solicitation (NS) low power protocol offload.

Syntax

void NetAdapterPowerOffloadSetNSCapabilities(
  [_In_] NETADAPTER                                      Adapter,
  [_In_] const NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES *Capabilities
);

Parameters

[_In_] Adapter

A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.

[_In_] Capabilities

A pointer to a client driver-allocated and initialized NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES structure.

Return value

None

Remarks

Client drivers typically call this function from within their EvtDevicePrepareHardware callback, but must call this function before calling NetAdapterStart.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Universal
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)
Library netadaptercxstub.lib
IRQL PASSIVE_LEVEL

See also

Configuring power management

NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES

NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES_INIT

NetAdapterCreate

EvtDevicePrepareHardware

NetAdapterStart