NetAdapterSetPermanentLinkLayerAddress function (netadapter.h)

The NetAdapterSetPermanentLinkLayerAddress function sets the permanent link layer address for the network adapter.

Syntax

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

Parameters

[_In_] Adapter

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

[_In_] LinkLayerAddress

A pointer to a driver-allocated allocated 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