NdisMDeregisterDmaChannel function

The NdisMDeregisterDmaChannel function releases a miniport driver's claim on a DMA channel for a NIC.

Syntax

void NdisMDeregisterDmaChannel(
  NDIS_HANDLE MiniportDmaHandle
);

Parameters

MiniportDmaHandle

The DMA handle returned by the NdisMRegisterDmaChannel function.

Return Value

None

Remarks

The caller should consider MiniportDmaHandle invalid as soon as it is passed to NdisMDeregisterDmaChannel. This function releases the NIC's claim on the DMA channel in the registry.

NdisMDeregisterDmaChannel can be called only from a miniport driver's MiniportInitializeEx and MiniportHaltEx functions.

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisMDeregisterDmaChannel (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisMDeregisterDmaChannel (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL PASSIVE_LEVEL
DDI compliance rules Irql_Miniport_Driver_Function

See Also

MiniportHaltEx

MiniportInitializeEx

NdisMRegisterDmaChannel