NetAdapterGetNetLuid function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

Retrieves the NET_LUID that is assigned to a network adapter.

Syntax

NET_LUID NetAdapterGetNetLuid(
  NETADAPTER Adapter
);

Parameters

Adapter

The network adapter object that the client created in a prior call to NetAdapterCreate.

Return Value

Returns the NET_LUID for the specified NETADAPTER object.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.21
Header netadapter.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

See Also

NET_LUID