ConvertInterfaceLuidToGuid (Compact 2013)
3/26/2014
This function converts a locally unique identifier (LUID) for a network interface to a globally unique identifier (GUID) for the interface.
Syntax
NETIO_STATUS WINAPI ConvertInterfaceLuidToGuid(
__in const NET_LUID* InterfaceLuid,
__out GUID* InterfaceGuid
);
Parameters
- InterfaceLuid
A pointer to a NET_LUID for a network interface.
- InterfaceGuid
A pointer to the GUID for this interface.
Return Value
On success, ConvertInterfaceLuidToGuid returns NO_ERROR. Any nonzero return value indicates failure and a NULL is returned in the InterfaceGuid parameter.
Error code |
Meaning |
---|---|
ERROR_INVALID_PARAMETER |
One of the parameters was invalid. This error is returned if either the InterfaceLuid or InterfaceGuid parameter was NULL or if the InterfaceLuid parameter was invalid. |
Remarks
The ConvertInterfaceLuidToGuid function is protocol independent and works with network interfaces for both the IPv6 and IPv4 protocol.
See Also
Reference
IP Helper Functions
ConvertInterfaceAliasToLuid
ConvertInterfaceGuidToLuid
ConvertInterfaceIndexToLuid
ConvertInterfaceLuidToAlias
ConvertInterfaceLuidToIndex
ConvertInterfaceLuidToNameA
ConvertInterfaceLuidToNameW
ConvertInterfaceNameToLuidA
ConvertInterfaceNameToLuidW
if_indextoname
if_nametoindex
NET_LUID