NdisMReadDmaCounter (NDIS 5.1) function
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisMReadDmaCounter returns the current value of the system DMA controller's counter.
- MiniportDmaHandle [in]
Specifies the handle returned when the miniport driver called NdisMRegisterDmaChannel during initialization.
NdisMReadDmaCounter returns the number of bytes remaining in the current DMA transfer on the channel used by the NIC.
NIC drivers of devices that use the system DMA controller's autoinitialize mode can call NdisMReadDmaCounter.