INtime SDK Help
lncNetRoute4Move

Moves an IPv4 route on a node to another place in the list of IPv4 routes on that node.

DWORD lncNetRoute4Move( 
LPCTSTR szNode,
DWORD dwRoute4,
DWORD dwBefore);

Parameters

szNode
(in) the name of the local node.
dwRoute4
(in) the number of the IPv4 route.
dwBefore
(in) the number of the route in front of which to insert the route: 0 <= number <= number of routes. If dwBefore is zero, the route is moved to the front of the list; if dwBefore >= number of routes, the route is moved to the end of the list.

Return values

Zero for success or an error code on failure.

Errors

LNCE_BADVAL
the new number is invalid.
LNCE_READERR
the configuration file cannot be read.
LNCE_SECTION_NFND
there is no IPv4 route with the number dwRoute4.

Requirements

Versions Defined in Include Link to
INtime 5.2 intime/nt/include/lnc.h lnc.h lnc.lib
See Also

LNC