Commit Graph

14166 Commits

Author SHA1 Message Date
Matteo Bruni ce5477ef02 combase: Add RoSetErrorReportingFlags() stub.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 430583893e)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2022-03-31 23:44:08 +02:00
Louis Lenders 1a508ae2bf ole32: Add stub for OleConvertIStorageToOLESTREAMEx.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52298
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 18e331fd63)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2022-03-31 00:05:53 +02:00
Nikolay Sivov 461abf501a include: Add WbemErrorEnum error codes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52378
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 9dd1654c84)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2022-03-16 23:36:26 +01:00
Louis Lenders ce23d7aa44 wsdapi: Add stub for WSDCreateDiscoveryProvider.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52173
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 03f0659805)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2022-03-15 23:18:19 +01:00
Louis Lenders ef27e2b503 combase: Add stub for RoOriginateError.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51983
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 6b59b26fff)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2022-02-26 00:22:49 +01:00
Jacek Caban d1d979bf91 include: Use __builtin_offsetof on Clang.
Fixes a number of warning on MSVC target.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit de9982f069)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-11-24 00:00:34 +01:00
Gerald Pfeifer b363adda05 ntdll: Only use sysinfo function when present.
On some systems <sys/sysinfo.h> may be present while the sysinfo
function may not, or at least not as part of standard libraries,
so check whether the function is actually available before using
it.

This fixes builds on FreeBSD with the devel/libsysinfo present.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 59da79021a)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-11-23 00:09:17 +01:00
Andrew Boyarshin 3c83603c8c include: Fix IRequestDictionary IID.
IRequestDictionary had the wrong UUID specified (IResponse one).
Found by using MIDL instead of WIDL to compile Wine headers:
duplicated IID caused compilation error in MIDL.

Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 32ec7d7b94)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-11-22 23:35:03 +01:00
Oleg Dubinskiy 10646cd4e0 include: Add RASCREDENTIALSA/W structures.
Signed-off-by: Oleg Dubinskiy <oleg.dubinskij2013@yandex.ua>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 2d8fa6b4d1)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-10-30 18:05:13 +02:00
Zebediah Figura 57ed063ec0 wtsapi32: Implement WTSEnumerateProcessesW().
Based on a patch by Sebastian Lackner.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=29903
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 5f8c7c2563)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-07-09 22:22:19 +02:00
Zebediah Figura ea49fd72f0 include: Introduce winetest_push_context() and winetest_pop_context().
Based on vkd3d's vkd3d_test_set_context(), but adding support for a stack of
context prefixes, to more easily accomodate tests with nested loops.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit af39a1b0bc)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-07-09 22:19:59 +02:00
Zebediah Figura f78df1dd43 include: Factor out winetest_printf().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 2cdf6f0f30)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-07-09 22:19:12 +02:00
Francois Gouget 598a21be9c tests: Add ignore_exceptions().
This lets tests signal that for a while exceptions are expected and
should not be counted as test failures.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 4ac37c4e24)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-07-09 22:16:51 +02:00
Francois Gouget 0aabd08c53 tests: Trace the filename in winetest_wait_child_process().
We want the filename next to the line number, just like in every other
trace.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 092130e2aa)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-07-09 22:15:59 +02:00
Louis Lenders 1b64d29849 advapi32: Add stub for LsaEnumerateAccounts.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50830
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit c74508d225)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-07-09 21:37:28 +02:00
Martin Storsjo 0d89678307 include: Don't use __attribute__((pcs("aapcs-vfp"))) when building in PE mode.
Clang doesn't support this attribute for windows targets right now;
the attribute is only needed for selecting a potentially non-default
calling convention on e.g. linux.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 52398912f9)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-05-18 00:24:26 +02:00
Jacek Caban 3591388c75 oleaut32: Use C locale in VARIANT_BstrFromReal.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50672
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 22a1485c08)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-05-18 00:24:26 +02:00
Michael Müller dc85e95017 ntdll: Implement NtQuerySystemInformation(SystemExtendedHandleInformation).
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 835f5fff71)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-05-18 00:24:25 +02:00
Vijay Kiran Kamuju dd026b0775 uiautomationcore: Add stub UiaRegisterProviderCallback function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50508
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 8f0349f25b)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2021-05-18 00:24:25 +02:00
Kevin Puetz 849e521dba include: Check whether the ms_abi attribute is supported on aarch64.
Updated to maintain sync with dac1e16dd4.

Signed-off-by: Kevin Puetz <PuetzKevinA@JohnDeere.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-04 21:03:24 +01:00
Alexandre Julliard 88d7aeee34 Update copyright info for 2021.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-02 15:17:17 +01:00
Alistair Leslie-Hughes 345ba70276 include: Add DBACCESSORFLAGSENUM/DBBINDSTATUSENUM values.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-30 20:55:41 +01:00
Jacek Caban 2265db40e7 condrv: Don't requre write access for IOCTL_CONDRV_CTRL_EVENT ioctl.
Fixes propagating CONTROL_C_EXIT exception from console server handle.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50304
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-30 11:19:08 +01:00
Biswapriyo Nath baea948be1 include: Add IAMCameraControl definition in axextend.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 21:08:03 +01:00
Biswapriyo Nath 26b8efc70a include: Add more Media Foundation error codes.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 21:07:56 +01:00
Martin Storsjo dac1e16dd4 include: Check whether the ms_abi attribute is supported on aarch64.
While wine's configure checks and requires that the ms_abi attribute
is supported on aarch64 (without it, variadic functions don't have the
correct ABI), these headers are also included when building widl as a
generic cross compilation tool as part of mingw-w64-tools. In the case
of widl, the functions that use these attributes (and in particular,
their ABI) doesn't matter as they aren't used/called, they're just
included as a side effect of including the headers that widl actually
needs.

This fixes building the widl tool for aarch64 linux with GCC, even if
wine itself can't be built in that configuration.

Only windef.h is used/needed by widl, but update msvcrt/corecrt.h as
well to keep these definitions in sync.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 16:55:53 +01:00
Alistair Leslie-Hughes a4456ff9f9 include: Add ExecuteOptionEnum typedef.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 15:15:11 +01:00
Alistair Leslie-Hughes fd416ebc78 include: Add DB_LRESERVE type.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 11:58:25 +01:00
Martin Storsjo 8c7014eb23 include: Fix the signature of _InterlockedCompareExchange128.
Clang 12 doesn't consider a function with an inconsistent signature
as matching the intrinsic.

This fixes InterlockedCompareExchange128 with clang 12 in MSVC mode.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 11:57:03 +01:00
Martin Storsjo 6844f671fc asm: Use SEH assembly when building with clang in MSVC mode.
In MSVC mode, the __SEH__ macro isn't defined, but the .seh directives
are supported in assembly. In these cases, we have to hardcode which
architectures we know clang supports SEH directives in as it's not
exposed otherwise.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 11:56:58 +01:00
Martin Storsjo e9fa452ba3 asm: Separate .def/.scl/.type/.endef with newlines instead of semicolons.
When targeting arm64 in MSVC mode, LLVM treats semicolons in assembly
as comment char, instead of as statement separator (contrary to in
mingw mode, where semicolons still work as separator). In generated code,
there's no need to keep these directives on one single line though, so
just separate them with newlines.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 11:56:29 +01:00
Biswapriyo Nath 8a22d28766 include: Add DEFINE_ENUM_FLAG_OPERATORS macro in directmanipulation.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-18 15:21:37 +01:00
Biswapriyo Nath d82b6eac57 include: Add DEFINE_ENUM_FLAG_OPERATORS macro in mfreadwrite.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-18 15:21:37 +01:00
Biswapriyo Nath d958c5307c include: Add more GUIDs in mfreadwrite.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-18 15:21:37 +01:00
Biswapriyo Nath 79e2672858 include: Add IAudioAmbisonicsControl interface in audioclient.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-15 22:09:21 +01:00
Biswapriyo Nath 38c21c3395 include: Add AMBISONICS_PARAMS structure in audioclient.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-15 22:09:21 +01:00
Biswapriyo Nath e0a2692a4b include: Add error codes in audioclient.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-15 22:09:21 +01:00
Biswapriyo Nath 82bea03ff9 include: Add AUDCLNT_STREAMOPTIONS_AMBISONICS in audioclient.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-15 22:09:21 +01:00
Rafał Harabień e6c777d26d d3d9: Fix handling of D3DENUM_WHQL_LEVEL.
D3DENUM_NO_WHQL_LEVEL from Direct3D 8 was replaced with D3DENUM_WHQL_LEVEL in
Direct3D 9.

Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-14 16:21:49 +01:00
Rafał Harabień c618093540 include: Remove two D3DCAPS2 defines in d3d9 headers.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-11 21:47:15 +01:00
Jacek Caban d91ad4ca24 setjmp.h: Use GCC-style setjmp on Clang in MSVC mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-11 21:47:15 +01:00
Biswapriyo Nath be45928242 include: Add ID2D1Multithread interface in d2d1_1.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-10 21:47:40 +01:00
Biswapriyo Nath 251f5492f0 include: Add ID2D1StrokeStyle1 interface in d2d1_1.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-10 21:47:36 +01:00
Biswapriyo Nath 527e0469bf include: Add ID2D1ImageBrush interface in d2d1_1.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-10 21:47:31 +01:00
Biswapriyo Nath 95106430ee include: Add ID2D1GradientStopCollection1 interface in d2d1_1.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-10 21:47:26 +01:00
Biswapriyo Nath 7929a7dcfc include: Add ID2D1ColorContext interface in d2d1_1.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-10 21:47:19 +01:00
Alexandre Julliard d442b41ec6 include: Avoid redefining base types in ntdef.h.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49106
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-10 21:42:59 +01:00
Piotr Caban a7b9948f39 msvcrt: Use _configthreadlocale arguments definition from public header.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 16:41:16 +01:00
Piotr Caban 79e950bb79 msvcrt: Remove non-needed function declarations from msvcrt.h.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 16:41:16 +01:00
Piotr Caban 713364f35c include: Add corecrt_io.h header.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 16:41:16 +01:00