NdisInterlockedDecrement (Windows CE 5.0)
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
Send Feedback on this topic to the authors