Freigeben über


NdisInterlockedDecrement (Windows CE 5.0)

Send Feedback

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

LONG NdisInterlockedDecrement(PLONGAddend);

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

See Also

NdisInterlockedIncrement

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.