// netpoweroffload.h
void NetPowerOffloadGetNSParameters(
[_In_] NETPOWEROFFLOAD PowerOffload,
[_Inout_] NET_POWER_OFFLOAD_NS_PARAMETERS *Parameters
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetPowerOffloadGetNSParameters function gets parameters for an IPv6 Neighbor Solicitation (NS) low power protocol offload to a net adapter.
PowerOffload [_In_]The NETPOWEROFFLOAD object that represents this NS protocol offload.
Parameters [_Inout_]A pointer to a driver-allocated NET_POWER_OFFLOAD_NS_PARAMETERS structure that receives the NS parameter information.
Call NET_POWER_OFFLOAD_NS_PARAMETERS_INIT to initialize the NET_POWER_OFFLOAD_NS_PARAMETERS structure before calling this function.
The client driver must only call NetPowerOffloadGetNSParameters 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.
NET_POWER_OFFLOAD_NS_PARAMETERS
NET_POWER_OFFLOAD_NS_PARAMETERS_INIT