For ARM and ARM64 processors, we strongly recommend that NDIS driver writers use WDF DMA or WDM DMA instead of NDIS Scatter/Gather DMA.
For more information about WDF DMA, see Handling DMA Operations in KMDF Drivers.
For more information about WDM DMA, see the DMA-related child topics of Managing Input/Output for Drivers.
Bus-master miniport drivers call NdisMDeregisterScatterGatherDma to release DMA resources that were allocated with the NdisMRegisterScatterGatherDma function.
void NdisMDeregisterScatterGatherDma( NDIS_HANDLE NdisMiniportDmaHandle );
A handle to a context area that NDIS uses to manage a DMA resource. The caller obtained this handle by calling the NdisMRegisterScatterGatherDma function.
An NDIS miniport driver calls NdisMDeregisterScatterGatherDma from its MiniportHaltEx function to release the DMA resources it allocated and initialized in a previous call to NdisMRegisterScatterGatherDma.
|Minimum supported client||Supported in NDIS 6.0 and later.|
|Header||ndis.h (include Ndis.h)|
|DDI compliance rules||Init_RegisterSG, Irql_Gather_DMA_Function|