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:
parent
9f52fec0d8
commit
c6e469347c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue