DeleteInterface

[This is preliminary documentation and subject to change.]

The DeleteInterface function removes an interface from the set managed by the routing protocol.

DWORD DeleteInterface(
  ULONG InterfaceIndex  // index of the interface
);
 

Parameters

InterfaceIndex
Identifies the interface in the set of interfaces configured on the router.

Return Values

NO_ERROR
The interface was deleted successfully.
ERROR_CAN_NOT_COMPLETE
The attempt to delete the interface failed.
ERROR_INVALID_PARAMETER
The InterfaceIndex parameter is invalid (for example, no interface exists with that index).

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in routprot.h.
  Import Library: user-defined.

See Also

AddInterface, DeleteInterface Sample