NetAdapterWakeSetMagicPacketCapabilities - NtDoc

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

void NetAdapterWakeSetMagicPacketCapabilities(
  [_In_] NETADAPTER                                       Adapter,
  [_In_] const NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES *Capabilities
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapter-netadapterwakesetmagicpacketcapabilities)

NetAdapterWakeSetMagicPacketCapabilities function

Description

The NetAdapterWakeSetMagicPacketCapabilities function sets a net adapter's magic packet wake on LAN (WoL) capabilities.

Parameters

Adapter [_In_]

A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.

Capabilities [_In_]

A pointer to a client driver-allocated and initialized NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES structure.

Remarks

Client drivers must call NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES_INIT to initialize the NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES structure, then set the structure's members appropriately before calling this function. Client drivers typically call this function from within their EvtDevicePrepareHardware callback, but must call this function before calling NetAdapterStart.

See also

Configuring power management

NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES

NET_ADAPTER_WAKE_MAGIC_PACKET_CAPABILITIES_INIT

NetAdapterCreate

EvtDevicePrepareHardware

NetAdapterStart