Jacek Caban
0cfbeb5520
include: Add ntgdi.h file.
...
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-07-01 22:34:31 +02:00
Jacek Caban
d02eb26413
gdi32: Move more fields from gdi_handle_entry to gdi_obj_header.
...
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-07-01 22:34:31 +02:00
Jacek Caban
a96fcf21b0
gdi32: Introduce gdi_obj_header and use it to store gdi_obj_funcs.
...
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-07-01 22:34:31 +02:00
Alexandre Julliard
02268cb290
kernel32: Fix the DLL check in GetBinaryTypeW().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51375
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 22:34:29 +02:00
Alexandre Julliard
11d6c52f32
ntdll: Use the CPU area to get/set the Wow64 context on x86-64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 12:46:00 +02:00
Alexandre Julliard
4acecd8619
ntdll: Initialize the Wow64 context on x86-64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 12:46:00 +02:00
Alexandre Julliard
bedfb31d7c
ntdll: Add a helper function to retrieve the CPU area context on the Unix side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 12:46:00 +02:00
Alexandre Julliard
8794879335
ntdll: Clear the 32-bit TLS for ZeroTlsCell in Wow64 mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 10:32:24 +02:00
Alexandre Julliard
3469ebf90e
ntdll: Implement RtlWow64GetThreadSelectorEntry().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 10:32:24 +02:00
Alex Henrie
dbabe2fa49
tbs: Add Tbsi_Context_Create stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51335
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 09:12:46 +02:00
Alex Henrie
91c42ffe46
tbs: Add stub dll.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51335
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:42:49 +02:00
Alex Henrie
3ffb15eb34
include: Add TBS_E_* to winerror.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:42:49 +02:00
Alex Henrie
295c657de7
include: Add tbs.h.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:42:49 +02:00
Zebediah Figura
96766e6794
ws2_32: Move the setsockopt(IP_ADD_MEMBERSHIP) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:37:50 +02:00
Zebediah Figura
51c19a9d97
ws2_32: Explicitly return WSAENOPROTOOPT for IP membership options in getsockopt().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:37:48 +02:00
Zebediah Figura
b9bf00605d
ws2_32/tests: Add tests for options which can only be set.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:37:45 +02:00
Zebediah Figura
1ccab719ee
ws2_32: Use ws_protocol_info() in getsockopt(SO_LINGER).
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:37:42 +02:00
Zebediah Figura
b58ca92fa5
ws2_32: Reimplement getsockopt(SO_TYPE) on top of ws_protocol_info().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-01 08:37:36 +02:00
Roman Pišl
0ec555e58e
ntdll: Don't pretend that the whole address space is reserved on non-i386.
...
This is analogous to 61dcca5dbf
.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50735
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Rémi Bernon
9a56ba0336
hidclass.sys: Disable the keyboard device interface on removal.
...
Instead of enabling it.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Rémi Bernon
ab8f8258a5
winebus.sys: Add missing keyboard free_device callback.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Rémi Bernon
2862ff6ba7
ntoskrnl.exe: Implement Ke(Initialize|Insert|Remove)DeviceQueue.
...
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-06-30 20:01:20 +02:00
Rémi Bernon
0f48202335
winebus.sys: Handle IRP_MN_SURPRISE_REMOVAL and set removed flag.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Rémi Bernon
25155186c6
winebus.sys: Introduce new remove_pending_irps helper.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Rémi Bernon
19d1375bce
ntoskrnl.exe/tests: Add some pending / remove tests.
...
This shows that removing a device should send IRP_MN_SURPRISE_REMOVAL
only, and that it's still possible to use DeviceIoControl on already
opened handles.
IRP_MN_REMOVE_DEVICE should only be sent when all then opened handles
are closed.
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-06-30 20:01:20 +02:00
Rémi Bernon
bd26083162
include: Declare KeInitializeSpinLock as static FORCEINLINE.
...
And internally rename the ntoskrnl.exe export.
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-06-30 20:01:20 +02:00
Huw Davies
f579cea53b
nsi: Implement NsiAllocateAndGetTable() and NsiFreeTable().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Huw Davies
2fc0872cac
nsiproxy: Implement NDIS ifinfo enumerate_all.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:20 +02:00
Huw Davies
ed79dd2125
iphlpapi: For unknown interface types set the physical address length to zero.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:19 +02:00
Huw Davies
c8bfc8d64f
iphlpapi: Fill out a few more MIB_IF_ROW2 entries.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:19 +02:00
Alexandre Julliard
9a7bf63bb2
configure: Disable nsiproxy.sys for the Windows build.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 20:01:19 +02:00
Zebediah Figura
4cca8b67d0
server: Create linked tokens as impersonation tokens.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51347
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 18:46:16 +02:00
Zebediah Figura
2cbed06609
advapi32/tests: Test the type and impersonation level of a linked token.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 18:46:16 +02:00
Alexandre Julliard
17716bc7f3
ntdll: Implement RtlWow64GetCurrentCpuArea().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 18:46:16 +02:00
Alexandre Julliard
c9d23a15ce
ntdll/tests: Add tests for RtlWow64GetCurrentCpuArea().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 18:46:16 +02:00
Alexandre Julliard
7700467a38
ntdll/tests: Add tests for 64-bit modules in Wow64 mode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 18:46:16 +02:00
Zebediah Figura
20c1990372
ws2_32: Handle SO_SNDTIMEO in the server.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 09:19:42 +02:00
Zebediah Figura
35288d6537
ws2_32: Use IOCTL_AFD_WINE_GET_SO_SNDBUF.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=8606
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 09:19:40 +02:00
Zebediah Figura
252d564c7b
ws2_32: Use IOCTL_AFD_WINE_SET_SO_SNDBUF.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 09:19:39 +02:00
Zebediah Figura
0072c72512
server: Introduce IOCTL_AFD_WINE_GET_SO_SNDBUF.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 09:19:37 +02:00
Zebediah Figura
a0bb5564eb
server: Introduce IOCTL_AFD_WINE_SET_SO_SNDBUF.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-30 09:19:29 +02:00
Zebediah Figura
7f1623bc62
quartz: Do not print an incorrect state warning in MediaFilter_GetState() if a filter has been run asynchronously.
...
This is a valid case in which the filter state may or may not match the graph
state.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 22:43:21 +02:00
Tim Clem
83ae1ff59a
quartz: Remove the source filter on failure in IGraphBuilder::RenderFile().
...
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 22:43:21 +02:00
Tim Clem
d9b95ac0df
quartz/tests: Test IGraphBuilder::RenderFile() cleanup on failure.
...
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 22:43:21 +02:00
Zebediah Figura
5b156eecba
winegstreamer: Change the formatting of error and warning messages a bit.
...
The TestBot treats anything containing the string ": error: " as a compiler
error. It may be possible for the TestBot to be smarter, but it seems easier
just to tweak winegstreamer.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 22:43:21 +02:00
Zebediah Figura
9eea22f724
ws2_32: Move the setsockopt(SO_REUSEADDR) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Zebediah Figura
f7cb96e53c
ws2_32: Move the getsockopt(SO_REUSEADDR) implementation to ntdll.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Zebediah Figura
f4df896e06
ws2_32: Handle SO_RCVTIMEO in the server.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Francois Gouget
8aaf9e6460
shell32/tests: Fix the known folder relative path check for multiple CD drives.
...
When there is more than one CD drive the extra drives typically get a
folder called "Burn1", etc.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Hugh McMaster
76b3009752
reg/tests: Test use of registry views with the 'query' operation.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00