NetAdapterSetCurrentLinkLayerAddress function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

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

Syntax

void NetAdapterSetCurrentLinkLayerAddress(
  NETADAPTER                     Adapter,
  NET_ADAPTER_LINK_LAYER_ADDRESS *LinkLayerAddress
);

Parameters

Adapter

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

LinkLayerAddress

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

Return Value

This method does not return a value.

Requirements

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