Changeset 9521 for trunk/include


Ignore:
Timestamp:
Dec 18, 2002, 1:24:32 PM (23 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/include/win
Files:
1 deleted
5 edited

Legend:

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

    r4 r9521  
    1 /* $Id: local.h,v 1.1 1999-05-24 20:19:13 ktk Exp $ */
     1/* $Id: local.h,v 1.2 2002-12-18 12:24:32 sandervl Exp $ */
    22
    33/*
     
    1010#define __WINE_LOCAL_H
    1111
    12 #include "windef.h"
    13 
    14   /* These function are equivalent to the Local* API functions, */
    15   /* excepted that they need DS as the first parameter. This    */
    16   /* allows managing several heaps from the emulation library.  */
    17 
    18 extern HLOCAL16 LOCAL_Alloc( HANDLE16 ds, UINT16 flags, WORD size );
    19 extern HLOCAL16 LOCAL_ReAlloc( HANDLE16 ds, HLOCAL16 handle,
    20                                WORD size, UINT16 flags );
    21 extern HLOCAL16 LOCAL_Free( HANDLE16 ds, HLOCAL16 handle );
    22 extern HLOCAL16 LOCAL_Handle( HANDLE16 ds, WORD addr );
    23 extern UINT16 LOCAL_Size( HANDLE16 ds, HLOCAL16 handle );
    24 extern UINT16 LOCAL_Flags( HANDLE16 ds, HLOCAL16 handle );
    25 extern UINT16 LOCAL_HeapSize( HANDLE16 ds );
    26 extern UINT16 LOCAL_CountFree( HANDLE16 ds );
    27 extern LPSTR LOCAL_Lock( HANDLE16 ds, HLOCAL16 handle );
    28 extern SEGPTR LOCAL_LockSegptr( HANDLE16 ds, HLOCAL16 handle );
    29 extern BOOL16 LOCAL_Unlock( HANDLE16 ds, HLOCAL16 handle );
    30 extern WORD LOCAL_Compact( HANDLE16 ds, UINT16 minfree, UINT16 flags );
    31 
    3212#endif  /* __WINE_LOCAL_H */
  • trunk/include/win/win.h

    r8544 r9521  
    219219
    220220
    221 /* Built-in class descriptor */
    222 struct builtin_class_descr
    223 {
    224     LPCSTR  name;    /* class name */
    225     UINT    style;   /* class style */
    226     WNDPROC procA;   /* ASCII window procedure */
    227     WNDPROC procW;   /* Unicode window procedure */
    228     INT     extra;   /* window extra bytes */
    229     LPCSTR  cursor;  /* cursor name */
    230     HBRUSH  brush;   /* brush or system color */
    231 };
    232 
    233221#endif  /* __WINE_WIN_H */
  • trunk/include/win/windef.h

    r9396 r9521  
    88#define __WINE_WINDEF_H
    99
    10 #ifdef __WINE__
     10#if (defined(__WINE__)) && (!defined(__WIN32OS2__))
    1111# include "config.h"
    1212# undef UNICODE
     
    284284typedef float           FLOAT;
    285285#ifdef __WIN32OS2__
    286 #if (__IBMC__ < 400) && (__IBMCPP__ < 360) && !defined(__WATCOMC__)
     286#if (__IBMC__ < 400) && (__IBMCPP__ < 360) && !defined(__WATCOMC__) && !defined(__EMX__)
    287287typedef double          __int64;
     288#elif defined (__EMX__)
     289typedef long long       __int64;
    288290#endif
    289291#else
     
    621623#define MAX_PATH   260
    622624#define _MAX_DRIVE 3
    623 #if !defined(__WATCOMC__) || !defined(_MAX_DIR)
     625#if !defined(__WATCOMC__) && !defined(_MAX_DIR)
    624626#define _MAX_DIR   256
    625627#endif
     
    627629#define _MAX_FNAME 255
    628630#endif
    629 #if !defined(__WATCOMC__) || !defined(_MAX_EXT)
     631#if !defined(__WATCOMC__) && !defined(_MAX_EXT)
    630632#define _MAX_EXT   256
    631633#endif
  • trunk/include/win/winnt.h

    r8426 r9521  
    676676#ifdef __i386__
    677677#define _DEFINE_REGS_ENTRYPOINT( name, fn, args ) \
    678   __asm__(".align 4\n\t"                         \
    679           ".globl " #name "\n\t"                 \
    680           ".type " #name ",@function\n\t"        \
    681           #name ":\n\t"                          \
    682           "call CALL32_Regs\n\t"                 \
    683           ".long " #fn "\n\t"                    \
    684           ".byte " #args ", " #args "\n\t");
    685 
     678    __ASM_GLOBAL_FUNC( name, \
     679                       "call " __ASM_NAME("__wine_call_from_32_regs") "\n\t" \
     680                       ".long " __ASM_NAME(#fn) "\n\t" \
     681                       ".byte " #args ", " "0")
    686682#define DEFINE_REGS_ENTRYPOINT_0( name, fn ) \
     683  extern void WINAPI name(void); \
    687684  _DEFINE_REGS_ENTRYPOINT( name, fn, 0 )
    688685#define DEFINE_REGS_ENTRYPOINT_1( name, fn, t1 ) \
     686  extern void WINAPI name( t1 a1 ); \
    689687  _DEFINE_REGS_ENTRYPOINT( name, fn, 4 )
    690688#define DEFINE_REGS_ENTRYPOINT_2( name, fn, t1, t2 ) \
     689  extern void WINAPI name( t1 a1, t2 a2 ); \
    691690  _DEFINE_REGS_ENTRYPOINT( name, fn, 8 )
    692691#define DEFINE_REGS_ENTRYPOINT_3( name, fn, t1, t2, t3 ) \
     692  extern void WINAPI name( t1 a1, t2 a2, t3 a3 ); \
    693693  _DEFINE_REGS_ENTRYPOINT( name, fn, 12 )
    694694#define DEFINE_REGS_ENTRYPOINT_4( name, fn, t1, t2, t3, t4 ) \
     695  extern void WINAPI name( t1 a1, t2 a2, t3 a3, t4 a4 ); \
    695696  _DEFINE_REGS_ENTRYPOINT( name, fn, 16 )
    696697
  • trunk/include/win/winuser.h

    r9158 r9521  
    14941494    RECT   rcExclude;
    14951495} TPMPARAMS, *LPTPMPARAMS;
     1496
     1497/*
     1498 * Combobox information
     1499 */
     1500typedef struct tagCOMBOBOXINFO
     1501{
     1502    DWORD cbSize;
     1503    RECT  rcItem;
     1504    RECT  rcButton;
     1505    DWORD stateButton;
     1506    HWND  hwndCombo;
     1507    HWND  hwndItem;
     1508    HWND  hwndList;
     1509} COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO;
    14961510
    14971511/* FIXME: not sure this one is correct */
Note: See TracChangeset for help on using the changeset viewer.