Expand Minimize

VideoPortInterlockedDecrement function

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

Syntax


LONG FASTCALL VideoPortInterlockedDecrement(
  _In_  PLONG Addend
);

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.

Requirements

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

Any level

See also

VideoPortInterlockedIncrement
VideoPortInterlockedExchange

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft