NetAdapterSetLinkLayerCapabilities - NtDoc

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

void NetAdapterSetLinkLayerCapabilities(
  [_In_] NETADAPTER                          Adapter,
  [_In_] NET_ADAPTER_LINK_LAYER_CAPABILITIES *LinkLayerCapabilities
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

NetAdapterSetLinkLayerCapabilities function

Description

Sets the link layer capabilities of the network adapter.

Parameters

Adapter [_In_]

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

LinkLayerCapabilities [_In_]

A pointer to an allocated and initialized NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.

Remarks

The client driver calls this function when starting a net adapter, before calling NetAdapterStart.

This function, along with a few other set capability functions (see below), is the replacement for the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES union that a (non-WDF) client of Ndis.sys sets by calling NdisMSetMiniportAttributes.

See also

NetAdapterSetDataPathCapabilities