NET_ADAPTER_LINK_LAYER_ADDRESS_INIT - NtDoc

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

void NET_ADAPTER_LINK_LAYER_ADDRESS_INIT(
  [_Out_]                    NET_ADAPTER_LINK_LAYER_ADDRESS *LinkLayerAddress,
  [_In_range_(1,32)]         USHORT                         Length,
  [_In_reads_bytes_(Length)] UCHAR const                    *AddressBuffer
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapter-net_adapter_link_layer_address_init)

NET_ADAPTER_LINK_LAYER_ADDRESS_INIT function

Description

The NET_ADAPTER_LINK_LAYER_ADDRESS_INIT function initializes a link layer address.

Parameters

LinkLayerAddress [_Out_]

A pointer to the driver-allocated NET_ADAPTER_LINK_LAYER_ADDRESS structure to be initialized.

Length [_In_range_(1,32)]

The length of the link layer address, in bytes.

AddressBuffer [_In_reads_bytes_(Length)]

A pointer to the buffer containing the link layer address.

Remarks

NET_ADAPTER_LINK_LAYER_ADDRESS_INIT is used to initialize either a permanent or current link layer address, stored in a NET_ADAPTER_LINK_LAYER_ADDRESS allocated by the driver. This NET_ADAPTER_LINK_LAYER_ADDRESS is then passed as a parameter to either the NetAdapterSetPermanentLinkLayerAddress function or the NetAdapterSetCurrentLinkLayerAddress function, depending on the type of address that was initialized and is being set.

See also

NET_ADAPTER_LINK_LAYER_ADDRESS