Commit Graph

128 Commits

Author SHA1 Message Date
Alexandre Julliard 0a79eb3608 include: Use the __thiscall attribute directly for the Mingw build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard 10584d2057 include: Use the __fastcall attribute directly for the Windows build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 14:07:15 +02:00
Alexandre Julliard ec94d0d58d user32/tests: Fix some test failures on latest Windows 10.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-11 15:54:06 +01:00
Martin Storsjo 8fb8cc03c3 arm64: Use __builtin_ms_va_list and __attribute__((ms_abi)) on arm64.
Windows uses a different ABI for va_list on arm64 just like on x86_64.

On x86_64, the calling convention for windows functions is completely
different from the one on other platforms. On arm64, they're mostly the
same, with the only exception being variadic functions (where all float
arguments are passed in integer registers, since the va_list is a single
pointer).

Any functions using __builtin_ms_va_start need to be decorated with
__attribute__((ms_abi)).

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-10 08:36:58 +02:00
Alexandre Julliard 4e752086d7 user32: Implement IsValidDpiAwarenessContext().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 12:33:14 +02:00
Louis Lenders 40b46d900a user32: Add stub for SetThreadDpiAwarenessContext.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 16:06:03 +02:00
Alexandre Julliard 5c50ec0c74 include: Don't use floating point for WINAPI functions when building for soft-float on ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 16:45:55 +01:00
Alexandre Julliard 644f497e87 include: Use the hard-float calling convention for Windows APIs on ARM
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:24:26 +01:00
Daniel Lehman 1fdebb77ec include: Remove references to SPARC.
SPARC support removed in 2013.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-04 09:13:12 +02:00
Justas Lavišius dccb57dfd9 include: Force stack alignment on x86_64.
Signed-off-by: Justas Lavišius <bucaneer@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 16:38:52 +09:00
Martin Storsjo 589f58d806 msvcr120: Implement the _vacopy function. 2014-12-08 17:08:51 +01:00
Michael Stefaniuc f78ffb374d include: Forbid the use of CONST in Wine. 2013-09-27 10:38:39 +02:00
André Hentschel 5c8da80801 include: Add remaining checks for ARM64. 2013-01-28 15:38:03 +01:00
Alexandre Julliard 4adfb787f4 include: Force stack alignment also on Linux to work around the ABI breakage. 2012-12-17 20:31:01 +01:00
Austin English d67275fed8 include: Define _WIN64 on sparc/powerpc64. 2011-11-08 09:50:06 +01:00
Alexandre Julliard 0e67f65cab include: Add support for building Wine with strict prototype checking. 2009-10-06 16:12:39 +02:00
Alexandre Julliard fb7acdcb28 user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:33 +01:00
Alexandre Julliard 74d63c020c include: Fix the definition of 64-bit types for Mingw64. 2008-12-09 17:42:13 +01:00
Maarten Lankhorst 6a704d6f72 includes: Add win64 calling convention. 2008-11-25 12:31:47 +01:00
Alexandre Julliard 80cff47c87 include: Get rid of the WINE_NO_LONG_AS_INT ifdefs. 2006-12-20 14:57:08 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Michael Stefaniuc f8b8f216dd include: Make DWORD/LONG/ULONG an int to use the same type in Win32 and Win64. 2006-09-29 16:09:07 +02:00
Mike McCormack b346d0f248 windef.h: Add a definition for FILETIME. 2006-08-23 12:01:06 +02:00
Alexandre Julliard 58c64190f4 configure: Define _WIN64 when building on a 64-bit platform. 2006-07-10 13:05:20 +02:00
Nick Burns 0da92ec9ca include: Use force_align_arg_pointer on MacOS to fix the stack on entry to Wine. 2006-06-13 13:01:56 +02:00
Mike McCormack 77a83a7f4d include: Fix FARPROC, NEARPROC and PROC definitions for amd64. 2006-06-05 13:07:04 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard ef6d5df1e7 Add an argument to all uses of the __ONLY_IN_WINELIB macro (spotted by
Berend Reitsma).
2005-11-08 16:13:21 +00:00
Dimi Paun 1ae16a5160 Allow MSVC to use Wine's headers. 2005-10-04 11:30:27 +00:00
Alexandre Julliard bdf01c368d Define data types to the correct size on 64-bit platforms. 2005-09-22 10:58:04 +00:00
Kevin Koltzau 7ab2813735 Fix pointer cast warnings in 64bit. 2005-08-23 09:36:34 +00:00
Alexandre Julliard d59ba4ccf1 Added a WINE_NO_UNICODE_MACROS define to allow Winelib apps to switch
off the Unicode macros too.
2005-08-15 20:53:40 +00:00
Dmitry Timoshkov 6f686490b1 Fixed POINTS definition for WORDS_BIGENDIAN case. 2005-06-17 09:50:48 +00:00
Vincent Béron 5d0cc8fbdf Fix a typo in a comment. 2005-04-11 12:50:19 +00:00
Jon Griffiths 39bbcb48b6 Use correct tag names for compatability with fwd decls.
Some old code checks that _WINDEF_ is defined in windef.h.
2004-09-20 19:13:16 +00:00
Francois Gouget 91562d5b22 Add PSZ to windef.h.
Add a couple missing declarations to winternl.h.
Tweak VM_COUNTERS to match the ddk declaration.
2004-08-31 17:32:29 +00:00
Andreas Mohr 5d91a63add Move some OpenGL defines from the private wgl.h header to where they
belong.
2004-08-16 20:07:06 +00:00
Jon Griffiths 7d12892731 Correct tag names for RECTL and SCROLLINFO structs. 2004-06-25 01:18:10 +00:00
Jon Griffiths 34401d84b7 Added PPOINTL, a pointer to a POINTL struct. 2004-06-01 19:45:59 +00:00
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