WifiWakeSourceGetType function (wificxwakesource.h)

The WifiWakeSourceGetType function gets the type for wake-on-LAN (WoL) source from a WiFiCx net adapter.

Syntax

WIFI_WAKE_SOURCE_TYPE WifiWakeSourceGetType(
  WIFIWAKESOURCE WakeSource
);

Parameters

WakeSource

The WIFIWAKESOURCE object that represents this wake source.

Return value

Returns a WIFI_WAKE_SOURCE_TYPE value that specifies the wake source type.

Remarks

The client driver must only call WifiWakeSourceGetType 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

See also

WIFI_WAKE_SOURCE_TYPE