次の方法で共有


NdisInterlockedIncrement (Compact 2013)

3/26/2014

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

Syntax

LONG NdisInterlockedIncrement(
  PLONG Addend
);

Parameters

  • Addend
    [in] Points to a variable of type LONG.

Return Value

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

Header

ndis.h

Library

ndis.lib

See Also

Reference

NDIS Interlocked Functions Interface
NdisInterlockedDecrement