[This is preliminary documentation and subject to change.]
The RtmGetRouteAge function returns the age of a route. The age is the time, in seconds, since it was created or last updated.
ULONG RtmGetRouteAge(
PVOID Route // pointer to route structure
);
The route age is computed from the RR_TimeStamp member of the structure pointed to by the Route parameter. The RTM sets the value of this member when a route is added or updated.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in rtm.h.
Import Library: Link with rtm.lib.
GetLastError, RTM_IP_ROUTE, RTM_IPX_ROUTE