The NdisMCompleteDmaTransfer function indicates that a system DMA transfer operation has completed. It resets the system DMA controller in preparation for further DMA transfers.
void NdisMCompleteDmaTransfer( _S, _H, _B, _O, _L, _M_ );
A pointer to a caller-supplied variable in which this function returns the final status of the DMA transfer, which can be one of the following:
The data has been transferred and flushed to host memory or to the device to maintain data integrity.
The DMA controller was released but the data transfer might be incoherent.
A pointer to the buffer descriptor previously passed to NdisMSetupDmaTransfer.
The byte offset at which the transfer began. This value also was passed to NdisMSetupDmaTransfer.
The length in bytes of the transfer. This value also was passed to NdisMSetupDmaTransfer.
TRUE if the transfer was from the host to the NIC, as, for example, a send operation.
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.
|Minimum supported client||Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisMCompleteDmaTransfer (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisMCompleteDmaTransfer (NDIS 5.1)) in Windows XP.|
|Header||ndis.h (include Ndis.h)|
|DDI compliance rules||Irql_MCO_Function|