VOID
NdisMCompleteDmaTransfer(
OUT PNDIS_STATUS Status,
IN PNDIS_HANDLE MiniportDmaHandle,
IN PNDIS_BUFFER Buffer,
IN ULONG Offset,
IN ULONG Length,
IN BOOLEAN WriteToDevice
);
NdisMCompleteDmaTransfer indicates that a system DMA transfer operation has completed. It resets the system DMA controller in preparation for further DMA transfers.
NdisMCompleteDmaTransfer must be called with WriteToDevice set to TRUE before the transferred data is considered present in the NIC’s memory. NdisMCompleteDmaTransfer must be called with WriteToDevice set to FALSE before the transferred data can be read from host memory.
Callers of NdisMCompleteDmaTransfer run at IRQL <= DISPATCH_LEVEL.
MiniportHandleInterrupt, MiniportInitialize, MiniportTimer, NdisMDeregisterDmaChannel, NdisMRegisterDmaChannel, NdisMSetupDmaTransfer