NetAdapterSetCurrentLinkLayerAddress, fonction (netadapter.h)

La fonction NetAdapterSetCurrentLinkLayerAddress définit l’adresse de couche de liaison actuelle pour la carte réseau.

Syntaxe

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

Paramètres

[_In_] Adapter

Objet de carte réseau créé par le pilote lors d’un appel antérieur à NetAdapterCreate.

[_In_] LinkLayerAddress

Pointeur vers une structure NET_ADAPTER_LINK_LAYER_ADDRESS que le pilote a initialisée dans un appel antérieur à NET_ADAPTER_LINK_LAYER_ADDRESS_INIT.

Valeur de retour

None

Configuration requise

Condition requise Valeur
Plateforme cible Universal
Version KMDF minimale 1.23
En-tête netadapter.h (inclure netadaptercx.h)
IRQL PASSIVE_LEVEL

Voir aussi

NET_ADAPTER_LINK_LAYER_ADDRESS