Changeset 8420 for trunk/include


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

header updates

Location:
trunk/include/win
Files:
3 edited

Legend:

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

    r4834 r8420  
    1 /* $Id: prsht.h,v 1.6 2000-12-24 12:28:20 sandervl Exp $ */
     1/* $Id: prsht.h,v 1.7 2002-05-15 12:37:28 sandervl Exp $ */
    22
    33#ifndef _WINE_PRSHT_H
     
    4747        LPCSTR           pszTemplate;
    4848        LPCDLGTEMPLATEA  pResource;
    49     }DUMMYUNIONNAME1;
     49    }DUMMYUNIONNAME;
    5050    union
    5151    {
     
    5858    LPFNPSPCALLBACKA pfnCallback;
    5959    UINT*            pcRefParent;
    60     LPCWSTR            pszHeaderTitle;
    61     LPCWSTR            pszHeaderSubTitle;
     60    LPCSTR            pszHeaderTitle;
     61    LPCSTR            pszHeaderSubTitle;
    6262} PROPSHEETPAGEA, *LPPROPSHEETPAGEA;
    6363
     
    7373        LPCWSTR          pszTemplate;
    7474        LPCDLGTEMPLATEW  pResource;
    75     }DUMMYUNIONNAME1;
     75    }DUMMYUNIONNAME;
    7676    union
    7777    {
     
    101101      HICON                  hIcon;
    102102      LPCSTR                   pszIcon;
    103     }DUMMYUNIONNAME1;
     103    }DUMMYUNIONNAME;
    104104    LPCSTR                   pszCaption;
    105105    UINT                   nPages;
     
    139139    {
    140140      HICON                  hIcon;
    141       LPCSTR                   pszIcon;
    142     }DUMMYUNIONNAME1;
     141      LPCWSTR                   pszIcon;
     142    }DUMMYUNIONNAME;
    143143    LPCWSTR                  pszCaption;
    144144    UINT                   nPages;
     
    221221#define PSH_USEICONID           0x0004
    222222#define PSH_PROPSHEETPAGE       0x0008
     223#define PSH_WIZARDHASFINISH     0x0010
    223224#define PSH_WIZARD              0x0020
    224225#define PSH_USEPSTARTPAGE       0x0040
     
    238239#define PSH_USEHBMHEADER        0x00100000
    239240#define PSH_USEPAGELANG         0x00200000
     241#define PSH_WIZARD_LITE         0x00400000
     242#define PSH_NOCONTEXTHELP       0x02000000
    240243
    241244#define PSCB_INITIALIZED  1
  • 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);
  • trunk/include/win/wine/unicode.h

    r7824 r8420  
    9292{
    9393    return get_char_typeW(wc) & C1_XDIGIT;
     94}
     95
     96inline static int isspaceW( WCHAR wc )
     97{
     98    return get_char_typeW(wc) & C1_SPACE;
    9499}
    95100
Note: See TracChangeset for help on using the changeset viewer.