// ndis.h
void NdisInterlockedIncrement(
[in] Addend
);
View the official Windows Driver Kit DDI referenceNo description available.
The NdisInterlockedIncrement function increments a caller-supplied variable as an atomic operation.
Addend [in]A pointer to a variable of type LONG.
NdisInterlockedIncrement cannot be used on variables in pageable memory.
NdisInterlockedIncrement is atomic only with respect to other NdisInterlocked*Xxx* calls.