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 |
---|---|
|
The attempt to delete the interface failed. |
|
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 |