Поделиться через


DoUpdateServices callback function

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.

Syntax

DWORD CALLBACK DoUpdateServices(
  _In_ ULONG InterfaceIndex
);

Parameters

  • InterfaceIndex [in]
    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 update operation cannot be performed.

ERROR_INVALID_PARAMETER

The InterfaceIndex parameter is invalid (for example, no interface exists with that index).

 

 

Remarks

If the function returns NO_ERROR, the update operation started successfully on the interface. Check the routing protocol event queue for a completion event (see GetEventMessage).

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Routprot.h

See also

Routing Protocol Interface Reference

Routing Protocol Interface Functions

DoUpdateRoutes

GetEventMessage