4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync InterlockedCompareExchange32 function
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync long volatile * Destination,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Performs an atomic compare exchange operation on a 32-bit unsigned integer.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Performs an atomic compare exchange operation on the 32-bit unsigned integer
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync specified by Value. If Value is equal to CompareValue, then Value is set to
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync ExchangeValue and CompareValue is returned. If Value is not equal to CompareValue,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync then Value is returned. The compare exchange operation must be performed using
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync MP safe mechanisms.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param Value A pointer to the 32-bit value for the compare exchange
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param CompareValue 32-bit value used in compare operation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param ExchangeValue 32-bit value used in exchange operation.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @return The original *Value before exchange.