NetAdapterSetDataPathCapabilities 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.

Sets the data path capabilities of the network adapter.

Syntax

void NetAdapterSetDataPathCapabilities(
  NETADAPTER                  Adapter,
  NET_ADAPTER_TX_CAPABILITIES *TxCapabilities,
  NET_ADAPTER_RX_CAPABILITIES *RxCapabilities
);

Parameters

Adapter

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

TxCapabilities

A pointer to an allocated and initialized NET_ADAPTER_TX_CAPABILITIES structure.

RxCapabilities

A pointer to an allocated and initialized NET_ADAPTER_RX_CAPABILITIES structure.

Return Value

This method does not return a value.

Remarks

The client driver must call this method when starting a net adapter, before calling NetAdapterStart.

This method, along with a few other set capability methods (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.

Requirements

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

See Also

NetAdapterSetLinkLayerCapabilities

NetAdapterSetPowerCapabilities