DoUpdateServices

[This is preliminary documentation and subject to change.]

The DoUpdateServices function requests the routing protocol to perform a service information update over the interface to obtain static service information. This process is called an autostatic service update.

DWORD DoUpdateServices(
  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 update operation was successfully started on the interface. Check the routing protocol event queue for a completion event (see GetEventMessage).
ERROR_CAN_NOT_COMPLETE
The update operation could not be performed.
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

DoUpdateRoutes, GetEventMessage