NET_LUID_LH union (ifdef.h)
The NET_LUID union is the locally unique identifier (LUID) for a network interface.
Syntax
typedef union _NET_LUID_LH {
ULONG64 Value;
struct {
ULONG64 Reserved : 24;
ULONG64 NetLuidIndex : 24;
ULONG64 IfType : 16;
} Info;
} NET_LUID_LH, *PNET_LUID_LH;
Members
Value
Type: ULONG64
A 64-bit value that represents the LUID.
Info
A named union containing the component fields in the 64-bit LUID Value member.
Info.Reserved
Type: ULONG64 This field is reserved.
Info.NetLuidIndex
Type: ULONG64 The network interface LUID index.
Info.IfType
Type: ULONG64 The interface type as defined by the Internet Assigned Names Authority (IANA). Possible values for the interface type are listed in the Ipifcons.h include file.
The table below lists common values for the interface type although many other values are possible.
Remarks
The NET_LUID structure is protocol independent and works with network interfaces for both the IPv6 and IPv4 protocol. The NET_LUID structure is defined on Windows Vista and later.
The IF_LUID and NET_LUID_LH structures are other names that can be used for the NET_LUID union.
The values for the IfType bitfield are defined in the Ipifcons.h include file. Only the possible values listed in the description of the IfType member are currently supported.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | ifdef.h |