// wificxpoweroffloadlist.h
void WIFI_POWER_OFFLOAD_LIST_INIT(
WIFI_POWER_OFFLOAD_LIST *List
);
View the official Windows Driver Kit DDI referenceNo description available.
The WIFI_POWER_OFFLOAD_LIST_INIT function initializes a WIFI_POWER_OFFLOAD_LIST structure.
List[_Out_] A pointer to a driver-allocated WIFI_POWER_OFFLOAD_LIST.
This function zeroes out the memory of the WIFI_POWER_OFFLOAD_LIST structure, then fills in the Size member. Client drivers must then call WifiDeviceGetPowerOffloadList with the initialized structure to get the list of low power offloads to this WiFiCx net adapter.
The client driver must only call WIFI_POWER_OFFLOAD_LIST_INIT 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.