ULONG
HalReadDmaCounter(
IN PADAPTER_OBJECT AdapterObject
);
HalReadDmaCounter returns the number of bytes remaining to be transferred during the current slave DMA operation, given a pointer to the adapter object.
HalReadDmaCounter returns the number of bytes remaining to be transferred.
HalReadDmaCounter can be called only by drivers of slave DMA devices. Usually, the caller is the driver of a slave device that uses a system DMA controller’s autoinitialize mode.
Callers of HalReadDmaCounter must be running at IRQL <= DISPATCH_LEVEL.
HalAllocateCommonBuffer, HalGetAdapter, IoFlushAdapterBuffers, IoMapTransfer