VideoPortInterlockedDecrement - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_API LONG VideoPortInterlockedDecrement(
  [in] IN PLONG Addend
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportinterlockeddecrement)

VideoPortInterlockedDecrement function

Description

The VideoPortInterlockedDecrement function decrements a caller-supplied variable as an atomic operation.

Parameters

Addend [in]

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.

See also

VideoPortInterlockedExchange

VideoPortInterlockedIncrement