WifiPowerOffloadGetType function (wificxpoweroffload.h)
The WifiPowerOffloadGetType function gets the Wi-Fi power offload type for a low power protocol offload to a WiFiCx net adapter.
Syntax
WIFI_POWER_OFFLOAD_TYPE WifiPowerOffloadGetType(
WIFIPOWEROFFLOAD WifiPowerOffload
);
Parameters
WifiPowerOffload
[In] A WIFIPOWEROFFLOAD object that represents this low power protocol offload.
Return value
Returns a WIFI_POWER_OFFLOAD_TYPE value that specifies the offload type.
Remarks
The client driver must only call WifiPowerOffloadGetType 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 11 |
Minimum supported server | Windows Server 2022 |
Header | wificxpoweroffload.h |
IRQL | PASSIVE_LEVEL |