Ignore:
Timestamp:
May 15, 2002, 2:37:29 PM (23 years ago)
Author:
sandervl
Message:

header updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/winbase.h

    r8396 r8420  
    16601660LONG        WINAPI InterlockedExchangeAdd( PLONG dest, LONG incr );
    16611661LONG        WINAPI InterlockedIncrement(LPLONG);
     1662
     1663/* FIXME: should handle platforms where sizeof(void*) != sizeof(long) */
     1664#define InterlockedCompareExchangePointer(dest, xchg, compare) \
     1665    (PVOID)InterlockedCompareExchange( (PLONG)dest, (LONG)xchg, (LONG)compare )
     1666
     1667#define InterlockedExchangePointer(dest, val) \
     1668    (PVOID)InterlockedExchange( (PLONG)dest, (LONG)val )
     1669
    16621670BOOL      WINAPI IsDBCSLeadByteEx(UINT,BYTE);
    16631671BOOL      WINAPI IsProcessorFeaturePresent(DWORD);
Note: See TracChangeset for help on using the changeset viewer.