// video.h
VIDEOPORT_API LONG VideoPortInterlockedDecrement(
[in] IN PLONG Addend
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortInterlockedDecrement function decrements a caller-supplied variable as an atomic operation.
Addend [in]Pointer to the variable to be decremented.
VideoPortInterlockedDecrement returns the decremented value.
When possible and whenever appropriate, VideoPortInterlockedDecrement 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.