NdisInterlockedDecrement

Windows CE .NET

This function decrements a caller-supplied variable of type LONG as an atomic operation.

LONG NdisInterlockedDecrement(
  PLONG Addend
);

Parameters

Addend
[in] Points to the variable to be decremented.

Return Values

The return value is the decremented value.

Remarks

NdisInterlockedDecrement can safely be used on variables in pageable memory.

NdisInterlockedDecrement is atomic only with respect to other NdisInterlockedXXX calls.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisInterlockedIncrement


 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.

Show: