NET_ADAPTER_DMA_CAPABILITIES_INIT function (netadapter.h)

The NET_ADAPTER_DMA_CAPABILITIES_INIT function initializes a NET_ADAPTER_DMA_CAPABILITIES structure.

Syntax

void NET_ADAPTER_DMA_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_DMA_CAPABILITIES *DmaCapabilities,
  [_In_]  WDFDMAENABLER                DmaEnabler
);

Parameters

[_Out_] DmaCapabilities

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

[_In_] DmaEnabler

A DMA enabler object the client driver obtained in a previous call to WdfDmaEnablerCreate.

Return value

None

Remarks

The client driver typically calls this function while setting capabilities for its data path, when it is starting a net adapter but before it calls NetAdapterStart.

Requirements

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