Changeset 9521 for trunk/include
- Timestamp:
- Dec 18, 2002, 1:24:32 PM (23 years ago)
- 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 ktkExp $ */1 /* $Id: local.h,v 1.2 2002-12-18 12:24:32 sandervl Exp $ */ 2 2 3 3 /* … … 10 10 #define __WINE_LOCAL_H 11 11 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 32 12 #endif /* __WINE_LOCAL_H */ -
trunk/include/win/win.h
r8544 r9521 219 219 220 220 221 /* Built-in class descriptor */222 struct builtin_class_descr223 {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 233 221 #endif /* __WINE_WIN_H */ -
trunk/include/win/windef.h
r9396 r9521 8 8 #define __WINE_WINDEF_H 9 9 10 #if def __WINE__10 #if (defined(__WINE__)) && (!defined(__WIN32OS2__)) 11 11 # include "config.h" 12 12 # undef UNICODE … … 284 284 typedef float FLOAT; 285 285 #ifdef __WIN32OS2__ 286 #if (__IBMC__ < 400) && (__IBMCPP__ < 360) && !defined(__WATCOMC__) 286 #if (__IBMC__ < 400) && (__IBMCPP__ < 360) && !defined(__WATCOMC__) && !defined(__EMX__) 287 287 typedef double __int64; 288 #elif defined (__EMX__) 289 typedef long long __int64; 288 290 #endif 289 291 #else … … 621 623 #define MAX_PATH 260 622 624 #define _MAX_DRIVE 3 623 #if !defined(__WATCOMC__) ||!defined(_MAX_DIR)625 #if !defined(__WATCOMC__) && !defined(_MAX_DIR) 624 626 #define _MAX_DIR 256 625 627 #endif … … 627 629 #define _MAX_FNAME 255 628 630 #endif 629 #if !defined(__WATCOMC__) ||!defined(_MAX_EXT)631 #if !defined(__WATCOMC__) && !defined(_MAX_EXT) 630 632 #define _MAX_EXT 256 631 633 #endif -
trunk/include/win/winnt.h
r8426 r9521 676 676 #ifdef __i386__ 677 677 #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") 686 682 #define DEFINE_REGS_ENTRYPOINT_0( name, fn ) \ 683 extern void WINAPI name(void); \ 687 684 _DEFINE_REGS_ENTRYPOINT( name, fn, 0 ) 688 685 #define DEFINE_REGS_ENTRYPOINT_1( name, fn, t1 ) \ 686 extern void WINAPI name( t1 a1 ); \ 689 687 _DEFINE_REGS_ENTRYPOINT( name, fn, 4 ) 690 688 #define DEFINE_REGS_ENTRYPOINT_2( name, fn, t1, t2 ) \ 689 extern void WINAPI name( t1 a1, t2 a2 ); \ 691 690 _DEFINE_REGS_ENTRYPOINT( name, fn, 8 ) 692 691 #define DEFINE_REGS_ENTRYPOINT_3( name, fn, t1, t2, t3 ) \ 692 extern void WINAPI name( t1 a1, t2 a2, t3 a3 ); \ 693 693 _DEFINE_REGS_ENTRYPOINT( name, fn, 12 ) 694 694 #define DEFINE_REGS_ENTRYPOINT_4( name, fn, t1, t2, t3, t4 ) \ 695 extern void WINAPI name( t1 a1, t2 a2, t3 a3, t4 a4 ); \ 695 696 _DEFINE_REGS_ENTRYPOINT( name, fn, 16 ) 696 697 -
trunk/include/win/winuser.h
r9158 r9521 1494 1494 RECT rcExclude; 1495 1495 } TPMPARAMS, *LPTPMPARAMS; 1496 1497 /* 1498 * Combobox information 1499 */ 1500 typedef 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; 1496 1510 1497 1511 /* FIXME: not sure this one is correct */
Note:
See TracChangeset
for help on using the changeset viewer.