NAME

InterlockedExchange  (KERNEL32.@)

SYNOPSIS

 LONG InterlockedExchange
 (
  LONG volatile* dest,
  LONG           val
 )

DESCRIPTION

Atomically swap one value with another.

PARAMS

dest [In/Out] The value to replace.
val [In] The value to be swapped.

RETURNS

The resulting value of dest.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel/sync.c". source.winehq.org/source/dlls/kernel/sync.c

Debug channel "sync".


Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.