NET_ADAPTER_WAKE_BITMAP_CAPABILITIES_INIT function (netadapter.h)

The NET_ADAPTER_WAKE_BITMAP_CAPABILITIES_INIT function initializes a NET_ADAPTER_WAKE_BITMAP_CAPABILITIES structure.

Syntax

void NET_ADAPTER_WAKE_BITMAP_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_WAKE_BITMAP_CAPABILITIES *Capabilities
);

Parameters

[_Out_] Capabilities

A pointer to a client driver-allocated NET_ADAPTER_WAKE_BITMAP_CAPABILITIES* structure.

Return value

None

Remarks

This function zeroes out the memory for the NET_ADAPTER_WAKE_BITMAP_CAPABILITIES structure, then sets the Size member. After calling this function to initialize the NET_ADAPTER_WAKE_BITMAP_CAPABILITIES structure, set the remaining members of the structure according to your hardware's capabilities, then call NetAdapterWakeSetBitmapCapabilities to set the net adapter's bitmap pattern wake on LAN (WoL) capabilities. Client drivers typically call NetAdapterWakeSetBitmapCapabilities when starting a net adapter, but before calling NetAdapterStart.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Universal
Header netadapter.h (include netadaptercx.h)
IRQL Any level as long as target memory is resident

See also

Configuring power management

NET_ADAPTER_WAKE_BITMAP_CAPABILITIES

NetAdapterWakeSetBitmapCapabilities

NetAdapterStart