Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
This function decrements a caller-supplied variable of type LONG as an atomic operation.
Syntax
LONG NdisInterlockedDecrement(
PLONG Addend
);
Parameters
- Addend
[in] Points to the variable to be decremented.
Return Value
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
Header |
ndis.h |
Library |
ndis.lib |
See Also
Reference
NDIS Interlocked Functions Interface
NdisInterlockedIncrement