VideoPortInterlockedDecrement function (video.h)
The VideoPortInterlockedDecrement function decrements a caller-supplied variable as an atomic operation.
Syntax
VIDEOPORT_API LONG VideoPortInterlockedDecrement(
[in] IN PLONG Addend
);
Parameters
[in] Addend
Pointer to the variable to be decremented.
Return value
VideoPortInterlockedDecrement returns the decremented value.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of the Windows operating systems. |
Target Platform | Desktop |
Header | video.h (include Video.h) |
Library | Videoprt.lib |
DLL | Videoprt.sys |
IRQL | Any level |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for