Updating Routes Using RtmAddRouteToDest
If the client does not require efficiency when adding a route, it should use the following method of updating routes. This method is less efficient since it requires obtaining a handle to the route and passing the RTM_ROUTE_INFO structure to and from the routing table manager. This method also takes more time. Since RtmAddRouteToDest does not manipulate the routing table directly, using this method trades efficiency for simplicity.
For sample code that shows how to use these functions, see Add and Update Routes Using RtmAddRouteToDest.