NetPowerOffloadGetArpParameters function (netpoweroffload.h)
The NetPowerOffloadGetArpParameters function gets parameters for an IPv4 ARP low power protocol offload to a net adapter.
Syntax
void NetPowerOffloadGetArpParameters(
[_In_] NETPOWEROFFLOAD PowerOffload,
[_Inout_] NET_POWER_OFFLOAD_ARP_PARAMETERS *Parameters
);
Parameters
[_In_] PowerOffload
The NETPOWEROFFLOAD object that represents this ARP protocol offload.
[_Inout_] Parameters
A pointer to a driver-allocated and initialized NET_POWER_OFFLOAD_ARP_PARAMETERS structure that receives the ARP parameter information.
Return value
None
Remarks
Call NET_POWER_OFFLOAD_ARP_PARAMETERS_INIT to initialize the NET_POWER_OFFLOAD_ARP_PARAMETERS structure before calling this function.
The client driver must only call NetPowerOffloadGetArpParameters 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Target Platform | Universal |
Minimum UMDF version | 2.33 |
Header | netpoweroffload.h (include netadaptercx.h) |
Library | netadaptercxstub.lib |
IRQL | PASSIVE_LEVEL |