Commit Graph

54 Commits (980eeecf99e59768d0fa97a9e8790d7e8208c738)

Author SHA1 Message Date
François Gouget f53b0e89e4 Moved the function pointer types to their rightful headers.
The definition of the function pointer types must be based on STRICT.
2001-01-04 19:32:22 +00:00
François Gouget d6515df871 Convert HDESK to STRICT. 2001-01-03 21:39:33 +00:00
François Gouget 6048a97968 Moved HMETAFILEPICT to wtypes.h. Note, HMETAFILEPICT is always a
'void*' unlike regular handles.
2001-01-02 22:31:07 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
François Gouget ca08edefa0 Convert HCOLORSPACE to STRICT mode. 2000-12-29 03:40:55 +00:00
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
François Gouget 45437038b6 Declare all handles with DECLARE_OLD_HANDLE to ease conversion to
STRICT.
2000-12-26 00:07:25 +00:00
François Gouget ce03ac889c Moved HRASCONN from windef.h.
Added missing Unicode type and function definitions.
Added a few missing macro definitions.
Enclose in an extern "C" for C++ Winelib applications.
Added the structure packing specification.
2000-12-24 20:44:08 +00:00
François Gouget 640ec8e635 Moved a misplaced 'extern "C" { ... }' statement. 2000-12-19 04:51:10 +00:00
François Gouget 7d6467649f Moved some macros like NULL, FALSE to winnt.h
Moved the anonymous struct/unions to winnt.h
Moved calling convention macros to winnt.h
Moved some basic types like BOOL, INT, LONG, etc. to winnt.h
Moved HANDLE and DECLARE_HANDLE to winnt.h
Moved structure packing macros to winnt.h
2000-12-15 21:31:03 +00:00
Francois Gouget 7c55d77067 Define NULL as in Win32. 2000-12-13 01:51:47 +00:00
Dimitrie O. Paun 24ab04ae77 Fixed compilation warning on Cygwin. 2000-11-25 01:21:22 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Francois Gouget 8c9d3e4e68 HICON and HCURSOR should be interchangeable. 2000-11-10 22:32:45 +00:00
Alexandre Julliard 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Francois Gouget 50bcd1a8e3 HFILE is an int, not a regular HANDLE. 2000-10-13 23:11:05 +00:00
Francois Gouget eec9cbbe25 Claim that our headers conform to the version 5.0. 2000-10-13 17:10:34 +00:00
Francois Gouget 48fc4aaaea Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
API to winnls.h.
Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to
winnt.h.
2000-10-12 23:20:29 +00:00
Francois Gouget 5b317bc556 Enable anonymous struct/union support by default in both C and C++.
Disable them for compilers known not to support them.
Disable them for the WINE code.
2000-10-12 20:44:41 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Francois Gouget 52b2878abe Added a macro for _declspec (backward compatibility synonym of
__declspec).
Removed the dllimport and dllexport macros.
2000-09-22 22:18:41 +00:00
Peter Hunnisett 565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Ove Kaaven d45aeda7bf Added a few more anonymous union definitions. 2000-08-11 00:39:39 +00:00
Jeremy White ccc0a8032b Added WM_TCARD and DWORDLONG. 2000-08-02 01:00:02 +00:00
Francois Gouget a537bec4d1 - Define HIC in this header rather than in windef.h (this is the
correct thing to do although it is unrelated to the C++ issues).
- WINE_HIC is an internal structure and it won't compile in C++ because
  it contains a field called 'private'. Enclosed in a __WINE__ ifdef.
- Reordered the CALLBACK and WINAPI directives so that it compiles with
  old g++ versions.
2000-06-11 20:07:08 +00:00
Francois Gouget b4b8a823a4 Define the _X86_ macro on Intel processors. 2000-05-23 04:07:15 +00:00
Francois Gouget 6aadd966c0 DECLARE_HANDLE should not be undef'ed after use. 2000-04-23 19:59:42 +00:00
Huw D M Davies fc8d15b6fb Define __fastcall. 2000-04-14 14:08:39 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Francois Gouget abdb034ffa - Added missing definition for GLOBALHANDLE and LOCALHANDLE
- Fixed the prototype of WNDENUMPROC
2000-03-19 14:21:38 +00:00
Alexandre Julliard 12f29b5076 Have threads and processes exit more cleanly whenever possible. 2000-03-17 15:16:57 +00:00
Matthew Cline a5affc63c9 Added typedefs for PSHORT and PUSHORT. 2000-02-12 19:25:38 +00:00
Jeremy White 82d1a8fb73 Moved definitions such as BOOL16 and INT16 from windef.h into
wine/windef16.h.
2000-02-03 01:04:39 +00:00
Steven Elliott 9dd9743b60 Changed the "this_is_a_syntax_error" error message to a more specific
error message.
1999-12-25 22:45:57 +00:00
Patrik Stridvall 32b4325d6b Add support for anonymous struct/unions on compilers that implement it. 1999-09-14 07:52:16 +00:00
Alexandre Julliard 891305b980 Removed __winelib flag. 1999-09-05 16:48:16 +00:00
Huw D M Davies 65367a9f16 Added type PWORD. 1999-09-04 14:31:08 +00:00
Patrik Stridvall 489cb8b758 GCC 3.0 has not been released yet, but it is good to be prepared. 1999-08-15 16:56:06 +00:00
Alexandre Julliard b375678277 Changed INSTR_EmulateInstruction to use a CONTEXT86 instead of a
SIGCONTEXT.
1999-08-01 12:15:12 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Patrik Stridvall 2d0bb2a78c Started on an implementation of Win64 for use on 64 bit platforms. 1999-07-04 15:56:03 +00:00
Patrik Stridvall 4a73973f23 Fixed/moved/added missing/wrong function prototypes. 1999-07-04 11:01:21 +00:00
Patrik Stridvall 857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Jim Aston 10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Adrian Thurston 4eb5edf961 Added support for strict handles. Only works on machines where
sizeof(UINT) == sizeof(void*).
1999-04-25 11:05:30 +00:00
Jiuming Luo 2840d1b7a9 Moved macro DECLARE_HANDLE() (in msacm.h and wtypes.h) to windef.h,
then deleted the duplicated typedefs (in imm.h and mmsystem.h).
1999-03-28 12:39:18 +00:00
Jim Aston 2e5113d4bc Added a few empty macros. 1999-03-24 14:57:34 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00