NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES_INIT function (netadapter.h)

The NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES_INIT function initializes a NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES structure.

Syntax

void NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES *Capabilities,
  [_In_]  SIZE_T                                    MaximumOffloadCount
);

Parameters

[_Out_] Capabilities

A pointer to a client driver-allocated NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES structure.

[_In_] MaximumOffloadCount

The maximum number of NS protocol offloads that the hardware supports.

Return value

None

Remarks

After calling this function to initialize the NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES structure, call NetAdapterPowerOffloadSetNsCapabilities to set the net adapter's NS protocol offload capabilities. Client drivers typically call NetAdapterPowerOffloadSetNsCapabilities when starting a net adapter, but 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)
IRQL Any level as long as target memory is resident

See also

Configuring power management

NET_ADAPTER_POWER_OFFLOAD_NS_CAPABILITIES

NetAdapterPowerOffloadSetNsCapabilities

NetAdapterStart