Freigeben über


NdisInterlockedIncrement (Windows CE 5.0)

Send Feedback

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

LONG NdisInterlockedIncrement(PLONGAddend);

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.
Link Library: Ndis.lib

See Also

NdisInterlockedDecrement

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.