NET_ADAPTER_WAKE_REASON_PACKET - NtDoc

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

typedef struct _NET_ADAPTER_WAKE_REASON_PACKET {
  ULONG     Size;
  ULONG     PatternId;
  ULONG     OriginalPacketSize;
  WDFMEMORY WakePacket;
} NET_ADAPTER_WAKE_REASON_PACKET;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-netadapter-_net_adapter_wake_reason_packet)

NET_ADAPTER_WAKE_REASON_PACKET structure

Description

The NET_ADAPTER_WAKE_REASON_PACKET structure describes a network packet (known as a wake packet) that caused the network adapter to generate a wake-up event.

Members

Size

The size of this structure, in bytes.

PatternId

A ULONG value that specifies the identifier of the wake-on-LAN (WOL) pattern that matches the wake packet.

OriginalPacketSize

A ULONG value that specifies the original length, in units of bytes, of the wake packet.

WakePacket

A WDFMEMORY buffer that contains the wake packet.

Remarks

Call NET_ADAPTER_WAKE_REASON_PACKET_INIT to initialize this structure if the NET_WAKE_SOURCE_TYPE is NetWakeSourceTypeBitmapPattern.

Call NET_ADAPTER_WAKE_REASON_MAGIC_PACKET_INIT to initialize this structure if the NET_WAKE_SOURCE_TYPE is NetWakeSourceTypeMagicPacket.

Call NET_ADAPTER_WAKE_REASON_FILTER_PACKET_INIT to initialize this structure if the NET_WAKE_SOURCE_TYPE is NetWakeSourceTypePacketFilterMatch.

Call NET_ADAPTER_WAKE_REASON_EAPOL_PACKET_INIT to initialize this structure if the NET_WAKE_SOURCE_TYPE is NetWakeSourceTypeEapolPacket.

A NET_ADAPTER_WAKE_REASON_PACKET structure is passed as an input parameter to NetAdapterReportWakeReasonPacket.

See also

Configuring power management

NET_ADAPTER_WAKE_REASON_PACKET_INIT

NetAdapterReportWakeReasonPacket