InterlockedOr - NtDoc

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

LONG InterlockedOr(
  [in, out] LONG volatile *Destination,
  [in]      LONG          Value
);
View the official Windows Driver Kit DDI reference
// wdm.h

LONG InterlockedOr(
  [in, out] LONG volatile *Destination,
  [in]      LONG          Value
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-miniport-interlockedor)

InterlockedOr function (miniport.h)

Description

The InterlockedOr routine atomically computes a bitwise OR operation.

Parameters

Destination [in, out]

A pointer to the variable to be ORed with Value. The result of the operation is stored in the variable.

Value [in]

Specifies the value to be ORed with the variable that is pointed to by Destination.

Return value

InterlockedOr returns the original value stored in the variable pointed to by Destination.

Remarks

InterlockedOr atomically computes *Destination|=*Value*.

Interlocked operations cannot be used on non-cached memory.

See also

InterlockedAnd

InterlockedXor


Windows Driver Kit DDI reference (nf-wdm-interlockedor)

InterlockedOr function (wdm.h)

Description

The InterlockedOr routine atomically computes a bitwise OR operation.

Parameters

Destination [in, out]

A pointer to the variable to be ORed with Value. The result of the operation is stored in the variable.

Value [in]

Specifies the value to be ORed with the variable that is pointed to by Destination.

Return value

InterlockedOr returns the original value stored in the variable pointed to by Destination.

Remarks

InterlockedOr atomically computes *Destination|=*Value*.

Interlocked operations cannot be used on non-cached memory.

See also

InterlockedAnd

InterlockedXor