Mapping a NET_LUID Value to an Interface Index

NDIS provides services to obtain the interface index for a given NET_LUID value, and vice versa. Note that the NET_LUID value is the persistent identification for an interface, and the interface index that corresponds to a particular NET_LUID value can change even if the computer does not restart (for example, when a filter module is attached and detached because the associated miniport adapter was disabled and reenabled).

NDIS provides the following mapping functions:

These functions return NDIS_STATUS_INTERFACE_NOT_FOUND if the given NET_LUID or interface index is not present in the list of registered interfaces.