// wificxpoweroffloadlist.h
void WifiDeviceGetPowerOffloadList(
WDFDEVICE Device,
WIFI_POWER_OFFLOAD_LIST *List
);
View the official Windows Driver Kit DDI referenceNo description available.
The WifiDeviceGetPowerOffloadList function gets the list of low power protocol offloads to a WiFiCx net adapter.
Device[_In_] The WDFDEVICE object associated with the WiFiCx net adapter.
List[_Inout_] A pointer to a driver-allocated and initialized WIFI_POWER_OFFLOAD_LIST structure.
Call WIFI_POWER_OFFLOAD_LIST_INIT to initialize the WIFI_POWER_OFFLOAD_LIST structure, then call this function to retrieve the low power protocol offload list.
The client driver must only call WifiDeviceGetPowerOffloadList 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.
The returned WIFI_POWER_OFFLOAD_LIST is invalid once the device resumes to a working (D0) power state.