// video.h
VIDEOPORT_API LONG VideoPortInterlockedIncrement(
[in] IN PLONG Addend
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortInterlockedIncrement function increments a caller-supplied variable as an atomic operation.
Addend [in]Pointer to the variable to be incremented.
VideoPortInterlockedIncrement returns the incremented value.
When possible and whenever appropriate, VideoPortInterlockedIncrement is implemented inline by the compiler. It can be safely used on pageable data.
This function is atomic only with respect to other VideoPortInterlockedXxx calls.