WIFI_WAKE_SOURCE_LIST_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wificxwakesourcelist.h

void WIFI_WAKE_SOURCE_LIST_INIT(
  WIFI_WAKE_SOURCE_LIST *List
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wificxwakesourcelist-wifi_wake_source_list_init)

Description

The WIFI_WAKE_SOURCE_LIST_INIT function initializes a WIFI_WAKE_SOURCE_LIST structure.

Parameters

List

[_Out_] A pointer to a driver-allocated WIFI_WAKE_SOURCE_LIST structure.

Remarks

This function zeroes out the memory for the WIFI_WAKE_SOURCE_LIST structure, then fills in the Size member. After calling this function, call WifiDeviceGetWakeSourceList with the initialized structure to get the list of wake sources for this Wi-Fi adapter.

The client driver must only call WIFI_WAKE_SOURCE_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_WAKE_SOURCE callback function. Otherwise, the call results in a system bugcheck.

See also

WIFI_WAKE_SOURCE_LIST

WifiDeviceGetWakeSourceList