Commit Graph

89 Commits

Author SHA1 Message Date
Alexandre Julliard 240b0a9b48 Moved the Windows version code to dlls/ntdll, and implemented
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Rolf Kalbermatter f42bc61b86 Don't redefine declspec under MSVC. 2003-09-22 19:22:14 +00:00
Alexandre Julliard 1084a8ba93 Moved out of windef.h a few definitions that don't belong there
(reported by Filip Navara).
2003-09-17 04:31:27 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Dimitrie O. Paun 4ff79add63 Remove some unneeded __WINESRC__ tests from the headers.
Miscellaneous cleanups and fixes.
2003-08-27 02:07:02 +00:00
Alexandre Julliard d1e46c5d5b Define __stdcall in msvcrt/process.h if windef.h hasn't been included. 2003-01-15 03:31:49 +00:00
Dmitry Timoshkov 682698a498 Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions. 2003-01-10 01:45:13 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Vincent Béron c8e9cd9656 Add a definition for STRICT. 2002-12-10 20:02:17 +00:00
Alexandre Julliard da93e83b90 Avoid redefinition warning. 2002-10-23 20:19:48 +00:00
Alexandre Julliard 6fa2ac693e Removed DECLARE_OLD_HANDLE. Fixed a few remaining warnings. 2002-10-19 17:20:02 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Michael Stefaniuc 1ad2087e38 Convert HKEY to a void*. 2002-09-24 03:09:12 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Steven Edwards d4b8654af4 Cleanup warning when building on Mingw. 2002-09-12 20:43:24 +00:00
Michael Stefaniuc e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Michael Stefaniuc 1033ffe423 Convert HPALETTE to a void*. 2002-08-29 01:55:55 +00:00
Michael Stefaniuc 4a75c5c6ea Convert HACCEL to a void*. 2002-08-28 00:39:39 +00:00
Michael Stefaniuc c018ef6b6b Convert HKL to a void*. 2002-08-16 01:34:19 +00:00
Michael Stefaniuc 5c55df649b Converted HENHMETAFILE and HMETAFILE to a void*. 2002-07-29 00:14:59 +00:00
Alexandre Julliard 13f2a17eb2 Convert HTASK to void* (based on a patch by Michael Stefaniuc). 2002-07-28 23:48:27 +00:00
Michael Stefaniuc 37553b7a13 - Converted HHOOK to a void*.
- Changed the internal HOOK_* functions to pass only HHOOK's between
  them.
- Fixed wrong HHOOK <-> HANDLE16 conversions.
2002-07-28 17:42:05 +00:00
Michael Stefaniuc 325cb0d2a8 Convert HMONITOR to a void*. 2002-07-19 00:28:13 +00:00
Jon Griffiths 273f86fc74 Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Alexandre Julliard b53f13093e Attempt at fixing MAX_PATH issues for mingw. 2002-05-01 18:13:18 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Alexandre Julliard 2ff4faf66d Moved MAKEINTATOM to winbase.h and added Unicode version. 2001-10-12 18:43:27 +00:00
Francois Gouget d4db6821c5 Move COLORREF from wingdi.h to windef.h.
Add a prototype for GdiFlush.
2001-10-08 20:31:59 +00:00
Alexandre Julliard e54cf7b4d5 Moved some handle declarations to the right headers. 2001-07-30 18:57:18 +00:00
Francois Gouget 5653939481 Added the minmax.h header (VC6).
Added support for NOMINMAX.
Remove __min/__max from windef.h, they belong to (msvcrt/)stdlib.h.
2001-05-07 20:14:00 +00:00
Francois Gouget 7a2da179b9 Prevent multiple definitions caused by MSVCRT headers. 2001-04-10 23:23:31 +00:00
François Gouget 54300e592c Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
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