iphlpapi: Return a fully initialized GUID from ConvertInterfaceLuidToGuid.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2017-05-10 14:27:35 +02:00 committed by Alexandre Julliard
parent 9f52fec0d8
commit c6e469347c
1 changed files with 1 additions and 0 deletions

View File

@ -3090,6 +3090,7 @@ DWORD WINAPI ConvertInterfaceLuidToGuid(const NET_LUID *luid, GUID *guid)
row.dwIndex = luid->Info.NetLuidIndex;
if ((ret = GetIfEntry( &row ))) return ret;
memset( guid, 0, sizeof(*guid) );
guid->Data1 = luid->Info.NetLuidIndex;
return NO_ERROR;
}