Condividi tramite


macro NDIS_MAKE_NET_LUID (ntddndis.h)

La macro NDIS_MAKE_NET_LUID compila un valore NET_LUID da un tipo di interfaccia e un indice NET_LUID.

Sintassi

void NDIS_MAKE_NET_LUID(
   _pNetLuid,
   _IfType,
   _NetLuidIndex
);

Parametri

_pNetLuid

Puntatore a un'unione NET_LUID fornita dal chiamante. NDIS_MAKE_NET_LUID restituisce il valore NET_LUID appena creato in questa variabile.

_IfType

Tipo di interfaccia IANA (Internet Assigned Numbers Authority). NDIS_MAKE_NET_LUID scrive il valore in _IfType nel membro IfType dell'unione NET_LUID fornita dal chiamante in _pNetLuid . Per un elenco dei tipi di interfaccia, vedere tipi di interfaccia NDIS.

_NetLuidIndex

Indice NET_LUID allocato dal chiamante con la funzione NdisIfAllocateNetLuidIndex. NDIS_MAKE_NET_LUID scrive il valore in _NetLuidIndex nel membro NetLuidIndex dell'unione NET_LUID fornita dal chiamante in _pNetLuid .

Valore restituito

Nessuno

Osservazioni

I provider di interfacce di rete NDIS devono usare la macro NDIS_MAKE_NET_LUID per compilare un valore NET_LUID. Il provider passa il valore NET_LUID risultante alla funzione NdisIfRegisterInterface per registrare l'interfaccia con NDIS.

Fabbisogno

Requisito Valore
client minimo supportato Supportato in NDIS 6.0 e versioni successive.
piattaforma di destinazione Desktop
intestazione ntddndis.h (include ndis.h)

Vedere anche

NdisIfAllocateNetLuidIndex

NdisIfRegisterInterface

NET_LUID