[This is preliminary documentation and subject to change.]
The UnbindInterface function tells the routing protocol that an adapter has been deallocated from the specified interface. The function directs the routing protocol to stop protocol-defined activities over the adapter.
DWORD UnbindInterface(
ULONG InterfaceIndex // index of the interface
);
The routing protocol should no longer consider routes dynamically obtained through the interface to be valid. It should remove these routes from the routing table.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in routprot.h.
Import Library: user-defined.
BindInterface, UnbindInterface Sample