INtime SDK Help
InterlockedDecrement (iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > InterlockedDecrement (iwin32)

Atomically decrements (decreases by one) the specified variable's value and returns the resulting value.

LONG InterlockedDecrement(
    LPLONG volatile lpAddend
);

Parameters

lpAddend
Pointer to the value to decrement.

Return Values

The decremented value.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/winbase.h windows.h iwin32.lib

Note

This function operates in the real-time portion of your application.

See Also

iwin32 API, iwin32 Overview