Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WifiDeviceGetWakeSourceList function gets the list of wake sources for a WiFiCx net adapter.
Syntax
void WifiDeviceGetWakeSourceList(
WDFDEVICE Device,
WIFI_WAKE_SOURCE_LIST *List
);
Parameters
Device
The WDFDEVICE object that is associated with the net adapter (or multiple adapters if the client driver has more than one for this device).
List
A pointer to a driver-allocated and initialized WIFI_WAKE_SOURCE_LIST structure.
Return value
None
Remarks
Call WIFI_WAKE_SOURCE_LIST_INIT to initialize the WIFI_WAKE_SOURCE_LIST structure, then call this function to retrieve the wake source list.
The client driver must only call WifiDeviceGetWakeSourceList 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 |