VideoPortInterlockedIncrement - NtDoc

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

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

NtDoc

No description available.

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

VideoPortInterlockedIncrement function

Description

The VideoPortInterlockedIncrement function increments a caller-supplied variable as an atomic operation.

Parameters

Addend [in]

Pointer to the variable to be incremented.

Return value

VideoPortInterlockedIncrement returns the incremented value.

Remarks

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.

See also

VideoPortInterlockedDecrement

VideoPortInterlockedExchange