NetConfigurationQueryLinkLayerAddress - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netconfiguration.h

NTSTATUS NetConfigurationQueryLinkLayerAddress(
  [_In_]  NETCONFIGURATION               Configuration,
  [_Out_] NET_ADAPTER_LINK_LAYER_ADDRESS *LinkLayerAddress
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netconfiguration-netconfigurationquerylinklayeraddress)

NetConfigurationQueryLinkLayerAddress function

Description

The NetConfigurationQueryLinkLayerAddress function retrieves the software-configurable link layer address that was stored in the registry for a NIC.

Parameters

Configuration [_In_]

Handle to a NETCONFIGURATION object that represents an opened registry key.

LinkLayerAddress [_Out_]

A pointer to a NET_ADAPTER_LINK_LAYER_ADDRESS object that represents the link layer address stored in the registry key.

Return value

The function returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.

Remarks

The client driver obtains a handle to a NETCONFIGURATION object by calling NetAdapterOpenConfiguration or NetConfigurationOpenSubConfiguration.

See also