UID | title | description | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.lib | req.dll | req.irql | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | targetos | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:netpoweroffload.NET_POWER_OFFLOAD_NS_PARAMETERS_INIT |
NET_POWER_OFFLOAD_NS_PARAMETERS_INIT function (netpoweroffload.h) |
The NET_POWER_OFFLOAD_NS_PARAMETERS_INIT function initializes a NET_POWER_OFFLOAD_NS_PARAMETERS structure. |
netvista |
09/30/2019 |
|
NET_POWER_OFFLOAD_NS_PARAMETERS_INIT |
netpoweroffload.h |
netadaptercx.h |
Windows 10, version 2004 |
Any level as long as target memory is resident |
Windows |
Vb |
|
|
|
|
|
The NET_POWER_OFFLOAD_NS_PARAMETERS_INIT function initializes a NET_POWER_OFFLOAD_NS_PARAMETERS structure.
A pointer to a client driver-allocated NET_POWER_OFFLOAD_NS_PARAMETERS structure.
This function zeroes out the memory of the NET_POWER_OFFLOAD_NS_PARAMETERS structure, then fills in the Size member. Client drivers must then call NetPowerOffloadGetNsParameters to fill in the remaining members of the structure.
The client driver must only call NET_POWER_OFFLOAD_NS_PARAMETERS_INIT during a power transition, typically from its EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0, or EVT_NET_DEVICE_PREVIEW_POWER_OFFLOAD callback function. Otherwise, the call results in a system bugcheck.