NdisInterlockedIncrement

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

LONG NdisInterlockedIncrement(
  PLONG Addend
);

Parameters

  • Addend
    [in] Points to a variable of type LONG.

Return Values

Returns the incremented value.

Remarks

NdisInterlockedIncrement can safely be used on variables in pageable memory.

NdisInterlockedIncrement is atomic only with respect to other NdisInterlockedXXX calls.

Requirements

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

See Also

NdisInterlockedDecrement

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.