Funzione NetAdapterSetPermanentLinkLayerAddress (netadapter.h)

La funzione NetAdapterSetPermanentLinkLayerAddress imposta l'indirizzo del livello di collegamento permanente per la scheda di rete.

Sintassi

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

Parametri

[_In_] Adapter

Oggetto scheda di rete creato dal client in una chiamata precedente a NetAdapterCreate.

[_In_] LinkLayerAddress

Puntatore a una struttura allocata dal driver NET_ADAPTER_LINK_LAYER_ADDRESS allocata che il driver ha inizializzato in una chiamata precedente a NET_ADAPTER_LINK_LAYER_ADDRESS_INIT.

Valore restituito

nessuno

Requisiti

Requisito Valore
Piattaforma di destinazione Universale
Versione KMDF minima 1.23
Intestazione netadapter.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

Vedi anche

NET_ADAPTER_LINK_LAYER_ADDRESS