次の方法で共有


NdisInterlockedAddLargeStatistic (Compact 2013)

3/26/2014

This function performs an interlocked addition of a ULONG increment value to a LARGE_INTEGER addend value.

Syntax

VOID
  NdisInterlockedAddLargeStatistic(
    IN PLARGE_INTEGER  Addend,
    IN ULONG  Increment
    );

Parameters

  • Addend
    A pointer to a LARGE_INTEGER value that is incremented by the value of Increment.
  • Increment
    A ULONG value that is added to the value to which the Addend parameter points.

Return Value

None

Remarks

Functions that perform interlocked operations must not cause a page fault to occur. Neither their code nor any of the data that they access can cause a page fault without bringing down the local device.

NdisInterlockedAddLargeStatistic masks interrupts and can be safely used to synchronize a driver's MiniportInterrupt function with other driver code.

Requirements

Header

ndis.h

See Also

Reference

NDIS Interlocked Functions Interface