Table of contents
Collapse the table of content
Expand the table of content

Deregistering a Network Interface

Last Updated: 9/2/2016

An NDIS interface provider calls the NdisIfDeregisterInterface function to indicate that a specified interface should be removed from the list of known interfaces on the computer, for example, because the interface has been uninstalled. Other reasons for deregistering interfaces are application-specific. To promote good resource management, interface providers should always deregister interfaces that are no longer useful.

NdisIfDeregisterInterface releases the interface index that is associated with the specified interface. NDIS can reassign the index to an interface that is registered in the future. However the NET_LUID index that is associated with the corresponding NET_LUID value is not reclaimed--if necessary, the interface provider can release the NET_LUID index by calling the NdisIfFreeNetLuidIndex function.

Note The NDIS proxy provider deregisters interfaces for miniport adapters when they are uninstalled and filter modules when they are detached.

© 2016 Microsoft