The InterlockedOr routine atomically computes a bitwise OR operation.
- 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.
InterlockedOr returns the original value stored in the variable pointed to by Destination.
InterlockedOr atomically computes *Destination|=Value.
Interlocked operations cannot be used on non-cached memory.