NetAdapterSetCurrentLinkLayerAddress function (netadapter.h)

The NetAdapterSetCurrentLinkLayerAddress function sets the current link layer address for the network adapter.

Syntax

void NetAdapterSetCurrentLinkLayerAddress(
  [_In_] NETADAPTER                     Adapter,
  [_In_] NET_ADAPTER_LINK_LAYER_ADDRESS *LinkLayerAddress
);

Parameters

[_In_] Adapter

The network adapter object that the driver created in a prior call to NetAdapterCreate.

[_In_] LinkLayerAddress

A pointer to a NET_ADAPTER_LINK_LAYER_ADDRESS structure that the driver initialized in a prior call to NET_ADAPTER_LINK_LAYER_ADDRESS_INIT.

Return value

None

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.23
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

See also

NET_ADAPTER_LINK_LAYER_ADDRESS