Alexandre Julliard
2308120334
wow64: Forward 64-bit invalid handle exceptions to the 32-bit guest.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 17:33:56 +02:00
Alexandre Julliard
e30b56b1a3
wow64: Add a thunk for the NtRaiseException syscall.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 16:07:25 +02:00
Alexandre Julliard
ee99bd4bc1
ntdll: Always send a Wow context to the server for Wow64 processes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 11:34:49 +02:00
Alexandre Julliard
6da06c1541
ntdll: Fix floating point exception codes in Wow64 mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 11:33:46 +02:00
Alexandre Julliard
2736fabc58
ntdll: Don't handle breakpoint interrupts in Wow64 mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 11:33:32 +02:00
Alexandre Julliard
8a8889340f
ntdll: Fix exception information for SSE floating point faults.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-20 11:32:17 +02:00
Esdras Tarsis
17ba916c56
api-ms-win-core-psm-appnotify-l1-1-0: Add dll.
...
Needed for The Riftbreaker.
Signed-off-by: Esdras Tarsis <esdrastarsis@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 20:44:47 +02:00
Nikolay Sivov
0fece8d99e
msxml3: Do not depend on libxml2 for parser error object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 20:38:32 +02:00
Nikolay Sivov
141155e74c
msxml3: Do not depend on libxml2 for legacy IXMLParser object stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 20:38:30 +02:00
Nikolay Sivov
4384204106
msxml3/domimpl: Fixup method functions names.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 20:38:28 +02:00
Nikolay Sivov
24d81667dc
msxml3/domimpl: Cleanup object creation helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 20:38:26 +02:00
Nikolay Sivov
2cc7180f3c
msxml3: Do not depend on libxml2 for DOM implementation object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 20:38:24 +02:00
Alexandre Julliard
b7323b4b3e
ntdll/tests: Don't mark Wow64 floating point behavior as broken.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 15:07:25 +02:00
Jacek Caban
6616da70be
gdi32: Move GetCharacterPlacementW to text.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:30 +02:00
Jacek Caban
bf4084b49c
gdi32: Move bidi text reordering to ExtTextOutW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:26 +02:00
Jacek Caban
64df8e975b
gdi32: Rename bidi.c to text.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:22 +02:00
Jacek Caban
b223f82603
gdi32: Use NtGdiGetAndSetDCDword for SetDCPenColor.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:18 +02:00
Jacek Caban
02ee9bf246
gdi32: Use NtGdiGetAndSetDCDword for SetDCBrushColor.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:15 +02:00
Jacek Caban
59b2aabd61
gdi32: Use ntgdi names for GetPath and PathToRegion.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:11 +02:00
Jacek Caban
37a5c8b9f3
gdi32: Use NtGdiWidenPath for WidenPath.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:07 +02:00
Jacek Caban
b048e4e0df
gdi32: Use NtGdiStrokePath for StrokePath.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:38:03 +02:00
Jacek Caban
dc19c31d8b
gdi32: Use NtGdiStrokeAndFillPath for StrokeAndFillPath.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 12:37:59 +02:00
Zebediah Figura
eec47af638
ws2_32: Properly implement getsockopt(SO_CONNECT_TIME).
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:33:47 +02:00
Zebediah Figura
4af902eb4e
ws2_32: Use realloc() in get_{host, proto, serv}ent_buffer().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:33:33 +02:00
Zebediah Figura
357fb2be9b
ws2_32: Use malloc() instead of HeapAlloc().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:33:25 +02:00
Huw Davies
e39d5967c7
iphlpapi: Remove no longer needed libraries.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:16:49 +02:00
Huw Davies
7992178df5
iphlpapi: Use the ANSI codepage for the convert interface name functions.
...
The name in these functions is now not the Unix interface name.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:16:40 +02:00
Huw Davies
502fd1a4ba
iphlpapi: Implement GetAdapterIndex() by parsing the GUID from the name.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:16:36 +02:00
Huw Davies
8d7720b0ed
iphlpapi: Don't enumerate loopback interfaces in GetInterfaceInfo().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:16:34 +02:00
Huw Davies
203350e030
iphlpapi: Implement GetInterfaceInfo() on top of nsi.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:16:31 +02:00
Gerald Pfeifer
6468e445bd
ntdll: Always return a value in get_builtin_init_funcs.
...
This only showed up in the #ifdef __FreeBSD__ case, so did not appear
on other platforms during testing.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:16:08 +02:00
Gerald Pfeifer
b13c024d64
nsiproxy: Include stddef.h.
...
This is needed for size_t, which on FreeBSD is used by sys/sysctl.h.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:15:59 +02:00
Gerald Pfeifer
823532bd3a
nsiproxy: Include netinet/in_pcb.h.
...
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:15:52 +02:00
Gerald Pfeifer
20c4149e72
nsiproxy: Include sys/param.h.
...
This fixes
In file included from dlls/nsiproxy.sys/tcp.c:70:
/usr/include/libprocstat.h:130:36: error: 'SPECNAMELEN' undeclared here
130 | char vn_devname[SPECNAMELEN + 1];
on FreeBSD 11 and presumably other targets.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-19 11:15:32 +02:00
Dmitry Timoshkov
be8501ac6f
user32: Check control type in the STM_SETIMAGE/STM_SETICON handlers before calling the helpers.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:44 +02:00
Dmitry Timoshkov
9b7faf98a9
comctl32: Check control type in the STM_SETIMAGE/STM_SETICON handlers before calling the helpers.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:42 +02:00
Alex Henrie
d949b66dfd
ws2_32/tests: Add tabular socket option validity tests.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:08 +02:00
Alex Henrie
cf358c9351
ws2_32: Return PROTECTION_LEVEL_UNRESTRICTED for IPV6_PROTECTION_LEVEL.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:06 +02:00
Alex Henrie
cf43c365ce
ws2_32: Re-add support for getting IP_HDRINCL on raw sockets.
...
This reverts most of commit e001319304
.
My previous diagnosis was incorrect: Windows does support both getting
and setting IP_HDRINCL, but only on raw sockets. Very old versions of
Windows also accept it on UDP sockets.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:08:01 +02:00
Alex Henrie
169553916e
ntdll: Check for unsupported socket protocol+option combinations.
...
Windows supports none of these options on TCP. Linux supports all of
them on TCP. Mac OS supports some of them on TCP, but sets EOPNOTSUPP
instead of EINVAL for the ones that it doesn't support. So, Wine needs
to do its own check for whether the option may be used with the socket.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:59 +02:00
Rémi Bernon
6e7ca58374
winebus.sys: Pass HID_XFER_PACKET and IO_STATUS_BLOCK to callbacks.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:53 +02:00
Rémi Bernon
ee5cde83da
winebus.sys: Merge begin_report_processing with start_device.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:50 +02:00
Rémi Bernon
8f065f97c9
winebus.sys: Remove the now useless bus_remove_hid_device.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:47 +02:00
Rémi Bernon
620b514aa0
winebus.sys: Build report descriptors in start_device.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:44 +02:00
Rémi Bernon
68c6c7d936
winebus.sys: Introduce a new start_device callback.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:26 +02:00
Rémi Bernon
cfddd2c1e2
setupapi: Rank drivers according to their id match.
...
And as described on MSDN "Driver Rank Example".
In order to safely remove the hardcoded XBox gamepad ID list from
winebus.sys, and list their hardware IDs in the (future) xinput.sys
driver INF.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:08 +02:00
Rémi Bernon
eb94d7aea8
setupapi: Create only one driver per driver id match.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:06 +02:00
Rémi Bernon
fcb6da3af4
setupapi: Use a struct driver instead of individual local variables.
...
In enum_compat_drivers_from_file.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:07:04 +02:00
Alexandre Julliard
0883dafe6a
ntdll/tests: Don't mark Wow64 behavior as broken.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 20:03:31 +02:00
Piotr Caban
ce5c989171
msvcrt: Move _Trace_ppl_function to concurrency.c.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-18 18:44:11 +02:00