iphlpapi: Implement GetAdapterIndex() on top of GetIfTable().
commitbdc48738ce8afed0d72836e48bf2656b3750bc0f
authorHuw Davies <huw@codeweavers.com>
Fri, 9 Jul 2021 08:09:24 +0000 (9 09:09 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 9 Jul 2021 09:00:43 +0000 (9 11:00 +0200)
tree9857b3422c457c4a120270230a8b6b66b96a942e
parent9f16ac9ae1269e75f79744531864e4819fd997a0
iphlpapi: Implement GetAdapterIndex() on top of GetIfTable().

Eventually this should just parse the Guid in the name.  This is an
intermediate step to keep the interface names in sync.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/iphlpapi/iphlpapi_main.c
dlls/iphlpapi/tests/iphlpapi.c