|
static |
The function returns informations about computed route.
lpError | Additional error information returned from Drive. |
lpRouteInfo | Reference to instance of SRouteInfo type which contains informations about route after function execution. |
bExtended | Flag determining whether the RouteInfo should have TimeToWP and DistToWP set. If the bExtended=true, TimeToWP contains estimated time arrival from actual position to each waypoint of the route and DistToWP contains estimated distance to each waypoint. The size of both arrays is stored in nWPArraySize. If bExtended=false, TimeToWP and DistToWP will remain empty. |
dwMaxTime | Maximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited. |
GetRouteInfo fills in RouteInfo members.
Status member of RouteInfo determines status of the route. Possible values are:
Only if Status=0x0002 (Computed) you can be sure that other members of SRouteInfo are valid. See SRouteInfo for information about other RouteInfo members.
Destination of route is possible obtain from GetItineraryList method.
Possible error codes returned from Drive are: