// 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 referenceNo description available.
The NET_ADAPTER_LINK_LAYER_ADDRESS_INIT function initializes a link layer address.
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.
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.
NET_ADAPTER_LINK_LAYER_ADDRESS