WIFI_WAKE_SOURCE_LIST structure (wificxwakesourcelist.h)
The WIFI_WAKE_SOURCE_LIST structure represents a list of wake sources for a WiFiCx net adapter.
Syntax
typedef struct _WIFI_WAKE_SOURCE_LIST {
ULONG Size;
void *Reserved[4];
} WIFI_WAKE_SOURCE_LIST;
Members
Size
The size of this structure, in bytes.
Reserved[4]
Reserved. Client drivers must not read or write to this value directly.
Remarks
Call WIFI_WAKE_SOURCE_LIST_INIT to initialize this structure, then call WifiDeviceGetWakeSourceList to get the list of wake sources from this net adapter. After you obtain the list, call WifiWakeSourceListGetCount with this structure to get the number of WIFIWAKESOURCE objects that represents the wake sources, then loop over the objects and call WifiWakeSourceListGetElement to retrieve each one. Once you have obtained a WIFIWAKESOURCE object, call WifiWakeSourceGetType to get the type of that wake source so you can call the appropriate function to get the wake source's parameters.
The client driver must only call wake source-related functions 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Header | wificxwakesourcelist.h |