NdisInterlockedDecrement - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

void NdisInterlockedDecrement(
  [in] Addend
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisinterlockeddecrement)

NdisInterlockedDecrement macro

Description

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

Parameters

Addend [in]

A pointer to the variable to be decremented.

Return value

NdisInterlockedDecrement returns the decremented value.

Remarks

NdisInterlockedDecrement can safely be used on variables in pageable memory.

NdisInterlockedDecrement is atomic only with respect to other NdisInterlocked*Xxx* calls.

This macro is a wrapper around the InterlockedDecrement macro.

See also

NdisInterlockedIncrement