NET_ADAPTER_TX_CAPABILITIES_INIT function (netadapter.h)

The NET_ADAPTER_TX_CAPABILITIES_INIT function initializes a NET_ADAPTER_TX_CAPABILITIES structure for a net adapter that has not specified the use of DMA in its transmit data path.

Syntax

void NET_ADAPTER_TX_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_TX_CAPABILITIES *TxCapabilities,
  [_In_]  SIZE_T                      MaximumNumberOfQueues
);

Parameters

[_Out_] TxCapabilities

A pointer to a driver-allocated NET_ADAPTER_TX_CAPABILITIES structure.

[_In_] MaximumNumberOfQueues

The maximum number of transmit queues that the adapter supports.

Return value

None

Remarks

This function is one of two possible functions to call in order to initialize a NET_ADAPTER_TX_CAPABILITIES structure. Which one the client driver should call depends on whether it would like to use DMA. NET_ADAPTER_TX_CAPABILITIES_INIT is used if the driver does not specify DMA memory mapping for its transmit buffers, and NET_ADAPTER_TX_CAPABILITIES_INIT_FOR_DMA is used if it does.

Requirements

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

See also

NET_ADAPTER_TX_CAPABILITIES

NET_ADAPTER_TX_CAPABILITIES_INIT_FOR_DMA