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

The NET_ADAPTER_DMA_CAPABILITIES_INIT method initializes a NET_ADAPTER_DMA_CAPABILITIES structure.

Syntax

void NET_ADAPTER_DMA_CAPABILITIES_INIT(
  NET_ADAPTER_DMA_CAPABILITIES *DmaCapabilities,
  WDFDMAENABLER                DmaEnabler
);

Parameters

DmaCapabilities

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

DmaEnabler

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

Return Value

This method does not return a value.

Remarks

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

Requirements

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