SetInterfaceConfigInfo

[This is preliminary documentation and subject to change.]

The SetInterfaceConfigInfo function sets the configuration of a specific interface kept by the routing protocol.

DWORD SetInterfaceConfigInfo(
  ULONG InterfaceIndex,  // index of interface
  PVOID InterfaceInfo    // interface information block
);
 

Parameters

InterfaceIndex
Identifies the interface in the set of interfaces configured on the router.
InterfaceInfo
Pointer to a buffer that holds the protocol-defined configuration information associated with the interface. This information is private to the routing protocol.

Return Values

NO_ERROR
The interface configuration was set successfully.
ERROR_CAN_NOT_COMPLETE
The attempt to set the interface configuration failed.
ERROR_INVALID_PARAMETER
The InterfaceIndex parameter is invalid (for example, no interface exists with that index), the InterfaceInfo parameter is NULL, or one of the parameters in the configuration information is invalid.

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

GetInterfaceConfigInfo, SetInterfaceConfigInfo Sample