NDIS_MAKE_NET_LUID - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddndis.h

void NDIS_MAKE_NET_LUID(
  _pNetLuid,
  _IfType,
  _NetLuidIndex
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddndis-ndis_make_net_luid)

NDIS_MAKE_NET_LUID macro

Description

The NDIS_MAKE_NET_LUID macro builds a NET_LUID value from an interface type and a NET_LUID index.

Parameters

_pNetLuid

A pointer to a caller-supplied NET_LUID union. NDIS_MAKE_NET_LUID returns the newly created NET_LUID value in this variable.

_IfType

The Internet Assigned Numbers Authority (IANA) interface type. NDIS_MAKE_NET_LUID writes the value at _IfType to the IfType member of the NET_LUID union that the caller provided at _pNetLuid . For a list of interface types, see NDIS Interface Types.

_NetLuidIndex

A NET_LUID index that the caller allocated with the NdisIfAllocateNetLuidIndex function. NDIS_MAKE_NET_LUID writes the value at _NetLuidIndex to the NetLuidIndex member of the NET_LUID union that the caller provided at _pNetLuid .

Remarks

NDIS network interface providers should use the NDIS_MAKE_NET_LUID macro to build a NET_LUID value. The provider passes the resulting NET_LUID value to the NdisIfRegisterInterface function to register the interface with NDIS.

See also

NdisIfAllocateNetLuidIndex

NdisIfRegisterInterface

NET_LUID