[This is preliminary documentation and subject to change.]
The RtmEnumerateGetNextRoute function returns the next route entry in the enumeration started by a call to RtmCreateEnumerationHandle.
DWORD RtmEnumerateGetNextRoute(
HANDLE EnumerationHandle, // handle that identifies enumeration
PVOID Route // structure to receive next route
);
Although routes are not returned in any particular order, each route in the enumeration is returned only once.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in rtm.h.
Import Library: Link with rtm.lib.
RTM_IP_ROUTE, RTM_IPX_ROUTE, RtmCloseEnumerationHandle, RtmCreateEnumerationHandle