WifiWakeSourceGetAdapter function (wificxwakesource.h)

The WifiWakeSourceGetAdapter function gets the WiFiCx net adapter for a wake-up source.

Syntax

NETADAPTER WifiWakeSourceGetAdapter(
  WIFIWAKESOURCE WakeSource
);

Parameters

WakeSource

[In] The WIFIWAKESOURCE object that represents the source of the wake-up event.

Return value

Returns the NETADAPTER object that represents the Wi-Fi adapter for this wake source.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificxwakesource.h
IRQL PASSIVE_LEVEL