Share via


NDIS_MAKE_NET_LUID (Compact 7)

3/12/2014

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

Syntax

NDIS_MAKE_NET_LUID(_pNetLuid, _IfType, _NetLuidIndex)

Parameters

  • _pNetLuid
    A pointer to a caller-supplied NET_LUID variable. 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 structure 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 structure that the caller provided at _pNetLuid.

Return Value

None

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.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS Network Interface Macros
NdisIfAllocateNetLuidIndex
NdisIfRegisterInterface

Other Resources

NET_LUID