NetPowerOffloadGetType function (netpoweroffload.h)
The NetPowerOffloadGetType function gets the power offload type for a low power protocol offload to a net adapter.
Syntax
NET_POWER_OFFLOAD_TYPE NetPowerOffloadGetType(
[_In_] NETPOWEROFFLOAD PowerOffload
);
Parameters
[_In_] PowerOffload
The NETPOWEROFFLOAD object that represents this low power protocol offload.
Return value
Returns a NET_POWER_OFFLOAD_TYPE value that specifies the offload type.
Remarks
The client driver must only call NetPowerOffloadGetType 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 |
Header | netpoweroffload.h (include netadaptercx.h) |
Library | netadaptercxstub.lib |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for