NdisInterlockedAddLargeStatistic macro

The NdisInterlockedAddLargeStatistic function performs an interlocked addition of a ULONG increment value to a LARGE_INTEGER addend value.


void NdisInterlockedAddLargeStatistic(



A pointer to a LARGE_INTEGER value that is incremented by the value of Increment .


A ULONG value that is added to the value to which the Addend parameter points.

Return Value



Functions that perform interlocked operations must not cause a page fault to occur. Neither their code nor any of the data that they access can cause a page fault without bringing down the local computer.

NdisInterlockedAddLargeStatistic masks interrupts and can be safely used to synchronize a driver's MiniportInterrupt function with other driver code.


Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisInterlockedAddLargeStatistic (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisInterlockedAddLargeStatistic (NDIS 5.1)) in Windows XP.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL Any level

See Also