UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:netioapi.ConvertInterfaceIndexToLuid |
ConvertInterfaceIndexToLuid function (netioapi.h) |
Converts a local index for a network interface to the locally unique identifier (LUID) for the interface. |
|
iphlp\convertinterfaceindextoluid.htm |
IpHlp |
c757228c-93f1-4545-8921-9d048bca580c |
12/05/2018 |
ConvertInterfaceIndexToLuid, ConvertInterfaceIndexToLuid function [IP Helper], iphlp.convertinterfaceindextoluid, netioapi/ConvertInterfaceIndexToLuid |
netioapi.h |
Iphlpapi.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Iphlpapi.lib |
Iphlpapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
The ConvertInterfaceIndexToLuid function converts a local index for a network interface to the locally unique identifier (LUID) for the interface.
The local index value for a network interface.
A pointer to the NET_LUID for this interface.
On success, ConvertInterfaceIndexToLuid returns NO_ERROR. Any nonzero return value indicates failure and a NULL is returned in the InterfaceLuid parameter.
Error code | Meaning |
---|---|
|
The system cannot find the file specified. This error is returned if the network interface specified by the InterfaceIndex parameter was not a value on the local machine. |
|
One of the parameters was invalid. This error is returned if the InterfaceLuid parameter was NULL or if the InterfaceIndex parameter was invalid. |
The ConvertInterfaceIndexToLuid function is available on Windows Vista and later.
The ConvertInterfaceIndexToLuid function is protocol independent and works with network interfaces for both the IPv6 and IPv4 protocol.