NetWakeSourceGetType - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netwakesource.h

NET_WAKE_SOURCE_TYPE NetWakeSourceGetType(
  [_In_] NETWAKESOURCE WakeSource
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netwakesource-netwakesourcegettype)

NetWakeSourceGetType function

Description

The NetWakeSourceGetType function gets the type for wake-on-LAN (WoL) source.

Parameters

WakeSource [_In_]

The NETWAKESOURCE object that represents this wake source.

Return value

Returns a NET_WAKE_SOURCE_TYPE value that specifies the wake source type.

Remarks

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

See also

Configuring power management

NET_WAKE_SOURCE_TYPE

NET_WAKE_SOURCE_LIST