NdisMReadDmaCounter - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

ULONG NdisMReadDmaCounter(
  [in] NDIS_HANDLE MiniportDmaHandle
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndismreaddmacounter)

NdisMReadDmaCounter function

Description

The NdisMReadDmaCounter function returns the current value of the system DMA controller's counter.

Parameters

MiniportDmaHandle [in]

The handle returned when the miniport driver called the NdisMRegisterDmaChannel function during initialization.

Return value

NdisMReadDmaCounter returns the number of bytes remaining in the current DMA transfer on the channel used by the NIC.

Remarks

Miniport drivers of devices that use the system DMA controller's auto-initialize mode can call NdisMReadDmaCounter.

See also

NdisMRegisterDmaChannel