// ndis.h
void NdisInterlockedAddLargeStatistic(
[in] _Addend,
[in] _Increment
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisInterlockedAddLargeStatistic function performs an interlocked addition of a ULONG increment value to a LARGE_INTEGER addend value.
_Addend [in]A pointer to a LARGE_INTEGER value that is incremented by the value of Increment .
_Increment [in]A ULONG value that is added to the value to which the Addend parameter points.
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.