[This is preliminary documentation and subject to change.]
The DisableInterface function tells the routing protocol that an interface was administratively disabled.
DWORD DisableInterface(
ULONG InterfaceIndex // index of the interface
);
If the interface is bound to a physical adapter, the protocol should deactivate the interface. That is, the protocol should refrain from any activity over this interface if the interface is bound to a physical adapter. Also, the protocol should not initiate demand dial connections for this interface.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in routprot.h.
Import Library: user-defined.
EnableInterface, DisableInterface Sample, UnbindInterface