Share via


NdisInterlockedIncrement (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

LONG NdisInterlockedIncrement(
  PLONG Addend
);

Parameters

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

Return Value

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

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
NdisInterlockedDecrement