PDELETE_INTERFACE callback function (routprot.h)

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

Syntax

PDELETE_INTERFACE PdeleteInterface;

DWORD PdeleteInterface(
  [in] ULONG InterfaceIndex
)
{...}

Parameters

[in] InterfaceIndex

Specifies the interface in the set of interfaces configured on the router.

Return value

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value is one of the following error codes.

Value Description
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).
 
 

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header routprot.h

See also

AddInterface

Routing Protocol Interface Functions

Routing Protocol Interface Reference