// wificxwakesource.h
NETADAPTER WifiWakeSourceGetAdapter(
WIFIWAKESOURCE WakeSource
);
View the official Windows Driver Kit DDI referenceNo description available.
The WifiWakeSourceGetAdapter function gets the WiFiCx net adapter for a wake-up source.
WakeSource[_In_] The WIFIWAKESOURCE object that represents the source of the wake-up event.
Returns the NETADAPTER object that represents the Wi-Fi adapter for this wake source.
The client driver must only call WifiWakeSourceGetAdapter 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.