Also, there is a note in MSDN doc regarding CreateIpForwardEntry
"On Windows Vista and Windows Server "Longhorn", the CreateIpForwardEntry
only works on interfaces with a single sub-interface (where the interface
LUID and subinterface LUID are the same). The dwForwardIfIndex member of the
MIB_IPFORWARDROW structure specifies the interface."
What is subinterface LUID? How to get this? I see some API for interface
LUID such as ConvertInterfaceIndexToLuid, none for subinterface LUID( also I
don't what it is).
Executive summary: Anyone using CreateIpForwardEntry pre-Vista is broken on
Vista until they use a new API - GetIpInterfaceEntry - to retrieve a minimum
metric that can be used for any routes created over a particular interface.
--
Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
"aes" <a...@discussions.microsoft.com> wrote in message
news:6AF93186-6199-4176...@microsoft.com...
Since the work around is not backward compatible with WinXP, it would really
be best if this was fixed by MS.
Allan
--
Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
"aes" <a...@discussions.microsoft.com> wrote in message
news:9698AD8A-B503-4EA6...@microsoft.com...