// ntddndis.h
void NDIS_MAKE_NET_LUID(
_pNetLuid,
_IfType,
_NetLuidIndex
);
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_MAKE_NET_LUID macro builds a NET_LUID value from an interface type and a NET_LUID index.
_pNetLuidA pointer to a caller-supplied NET_LUID union. NDIS_MAKE_NET_LUID returns the newly created NET_LUID value in this variable.
_IfTypeThe 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.
_NetLuidIndexA 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 .
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.