// miniport.h
LONG InterlockedIncrement(
[in, out] LONG volatile *Addend
);
View the official Windows Driver Kit DDI reference
// wdm.h
LONG CDECL_NON_WVMPURE InterlockedIncrement(
[in, out] LONG volatile *Addend
);
View the official Windows Driver Kit DDI reference
No description available.
The InterlockedIncrement routine increments a caller-supplied variable as an atomic operation.
Addend
[in, out]A pointer to a variable of type LONG.
InterlockedIncrement returns the incremented value.
InterlockedIncrement should be used instead of ExInterlockedIncrementLong because it is both more efficient and faster.
InterlockedIncrement is implemented inline by the compiler when appropriate and possible. It does not require a spin lock and can therefore be safely used on pageable data.
InterlockedIncrement is atomic only with respect to other InterlockedXxx calls.
Interlocked operations cannot be used on non-cached memory.
The InterlockedIncrement routine increments a caller-supplied variable as an atomic operation.
Addend
[in, out]A pointer to a variable of type LONG.
InterlockedIncrement returns the incremented value.
InterlockedIncrement should be used instead of ExInterlockedIncrementLong because it is both more efficient and faster.
InterlockedIncrement is implemented inline by the compiler when appropriate and possible. It does not require a spin lock and can therefore be safely used on pageable data.
InterlockedIncrement is atomic only with respect to other InterlockedXxx calls.
Interlocked operations cannot be used on non-cached memory.