NdisMDeregisterScatterGatherDma function

Bus-master miniport drivers call NdisMDeregisterScatterGatherDma to release DMA resources that were allocated with the NdisMRegisterScatterGatherDma function.

Syntax

void NdisMDeregisterScatterGatherDma(
  NDIS_HANDLE NdisMiniportDmaHandle
);

Parameters

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.

Return Value

None

Remarks

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.

Requirements

   
Windows version Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL PASSIVE_LEVEL
DDI compliance rules Init_RegisterSG, Irql_Gather_DMA_Function

See Also

Allocating and Freeing Scatter/Gather Lists

Miniport Driver Scatter/Gather DMA

MiniportHaltEx

NDIS Scatter/Gather DMA

NdisMRegisterScatterGatherDma

Registering and Deregistering DMA Channels