Huw Davies
3dfd1fdc14
winealsa: Use UINT64 handles to represent the stream.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:06:48 +02:00
Huw Davies
3f545935e0
winealsa: Pass a client ptr to the callback instead of a stream.
...
This is to allow stream handles to be larger than sizeof(void *).
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:06:32 +02:00
Eric Pouech
56056f39d9
kernel32/tests: Adapt duplicate console handle test to non-Win7 handles.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:06:19 +02:00
Eric Pouech
fdfd19cb47
kernel32/tests: Make the console tests pass if current console is shell-no-window.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:06:19 +02:00
Alexandre Julliard
7500fc1ce9
gdi32: Support UTF-8 codepage in TranslateCharsetInfo().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52847
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:06:15 +02:00
Mohamad Al-Jaf
cc83e85263
include: Add CLSID_MSVPxDecoder declaration.
...
Needed by Chromium-based browsers including CEF.
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 10:59:56 +02:00
Rémi Bernon
d141e35456
dinput/tests: Add more IForceFeedbackMotor and IAsyncOperation_boolean tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 21:19:40 +02:00
Rémi Bernon
c6966b5294
dinput/tests: Queue IRP when the expect ret_status is STATUS_PENDING.
...
And complete it on the next IOCTL_WINETEST_HID_WAIT_EXPECT ioctl.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 21:19:35 +02:00
Rémi Bernon
19f0f3cb65
dinput/tests: Add some IRawGameController_get_ForceFeedbackMotors tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 21:19:31 +02:00
Rémi Bernon
43eb6707bc
dinput/tests: Add tests for joystick with many axes and units.
...
Checking that only a few axes get really mapped to the slider axes, and
that we shouldn't use HID_USAGE_SIMULATION_RUDDER if there's already an
Rz mapped axis.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 21:19:29 +02:00
Biswapriyo Nath
14b387463e
include: Add Windows.Gaming.Input.FlightStick runtimeclass declaration.
...
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 19:57:57 +02:00
Mohamad Al-Jaf
234b74223c
include: Add CMSMPEGDecoderMFT coclass.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 19:57:53 +02:00
Zebediah Figura
edebe24a07
ddraw/tests: Use winetest_push_context() in test_viewport().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 19:57:49 +02:00
Nikolay Sivov
738c1c01b6
ddraw: Improve tracing format for unsigned fields.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 19:57:44 +02:00
Huw Davies
186e4ac533
winepulse: Implement Wow64 entry points in the Unix library.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:28 +02:00
Huw Davies
27cb3324df
winepulse: Limit Wow64 buffer allocations to 32-bit addresses.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:25 +02:00
Huw Davies
5199420f46
winepulse: Return offsets rather than ptrs to the strings.
...
This will make the Wow64 syscall rather simpler.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:22 +02:00
Huw Davies
94d3e2b366
winepulse: Use UINT64 handles to represent the stream.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:18 +02:00
Bernhard Kölbl
457291c75c
windows.media.speech/tests: Make waits non infinite.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:58:02 +02:00
Bernhard Kölbl
2fe6d070fb
windows.media.speech/tests: Fix some uses after release.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:58 +02:00
Huw Davies
65ecd7b700
wineoss: Move MODM_PREPARE and MODM_UNPREPARE to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:53 +02:00
Huw Davies
f1a11cb53c
wineoss: Move MODM_LONGDATA to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:50 +02:00
Huw Davies
2cc89ecc10
wineoss: Move MODM_DATA to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:47 +02:00
Huw Davies
4e90f801f9
wineoss: Use separate functions to handle MODM_DATA for FM synths and ports.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 18:57:44 +02:00
Zebediah Figura
93d8a86ce2
setupapi: Avoid leaking subKey in SETUPDI_AddDeviceInterfaces().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:46:02 +02:00
Zhiyi Zhang
a1dda8c376
win32u: Return -1 for NUMCOLORS with 8-bit display DCs.
...
According to tests, GetDeviceCaps(NUMCOLORS) returns -1 for display DCs when the current display
mode is 8-bit on newer versions of Windows, which makes sense because lower bit depth display modes
are actually emulated with 32-bit modes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52679
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:58 +02:00
Zhiyi Zhang
bfed433024
user32/tests: Test NUMCOLORS for display DCs.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:55 +02:00
Zhiyi Zhang
6c784f2c46
user32/tests: Avoid unnecessary display mode changes.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:44:49 +02:00
Timo Zuccarello
a54755c87c
winex11.drv: Do not assign reserved virtual key 0xE0 to key codes.
...
Signed-off-by: Timo Zuccarello <timo@zuccarello.eu>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:43:54 +02:00
Zebediah Figura
ea4353858d
user32: Do not call the lparam for WM_SYSTIMER messages.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:48 +02:00
Zebediah Figura
019313b63e
win32u: Do not call the lparam for WM_SYSTIMER messages.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:42 +02:00
Zebediah Figura
5e4dedff8e
win32u: Remove the "proc" parameter to NtUserSetSystemTimer().
...
Testing on 32-bit Windows 10 suggests that the function only has three
parameters. The test fixed in this patch (which still succeeds on e.g. Windows
2003) suggests that the final parameter to SetSystemTimer() is not a callback,
either.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:22 +02:00
Zebediah Figura
079b0423b5
user32: Update mouse tracking information based on the timer ID in DispatchMessage().
...
Avoid passing a callback to NtUserSetSystemTimer(); it does not support one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:41:08 +02:00
Zebediah Figura
95378c56b8
user32: Toggle the caret based on the timer ID in DispatchMessage().
...
Avoid passing a callback to NtUserSetSystemTimer(); it does not support one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:40:59 +02:00
Zebediah Figura
33087806a6
user.exe: Implement SetSystemTimer() using SetTimer().
...
Avoid using SetSystemTimer() to specify a callback; it does not support one.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 14:40:39 +02:00
Hans Leidekker
7435487992
webservices: Always set channel state to WS_CHANNEL_STATE_FAULTED when a send or receive operation failed.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 12:40:03 +02:00
Connor McAdams
3dfe1d7733
webservices: Respect session dictionary size limits on receive dictionary.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 12:39:59 +02:00
Connor McAdams
e2fa62b8fe
webservices: Respect session dictionary size limits on send dictionary.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-21 12:39:49 +02:00
Rémi Bernon
36b45c6d1c
include: Add Windows.Gaming.Input.ForceFeedback.IForceFeedbackEffect interface declaration.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:58:12 +02:00
Rémi Bernon
b1998870df
include: Remove nested namespaces in windows.gaming.input.forcefeedback.idl.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:58:07 +02:00
Rémi Bernon
8421f1ec8b
include: Add Windows.Gaming.Input.RacingWheel runtimeclass declaration.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:58:02 +02:00
Biswapriyo Nath
38b140f69c
include: Add IArcadeStick interface in windows.gaming.input.idl.
...
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:56 +02:00
Nikolay Sivov
7e446ce7e7
wusa: Remove string duplication helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:51 +02:00
Nikolay Sivov
76fa97cddd
dwrite/tests: Fix context text.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:46 +02:00
Nikolay Sivov
77c06dfb29
dwrite/tests: Use safe table access helpers for GetFontSignature().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 22:57:42 +02:00
Rémi Bernon
c0584779f8
kernelbase: Allocate global memory handle table dynamically.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52763
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:51:04 +02:00
Zebediah Figura
6fc2799bd0
wined3d: Make wined3d_context_gl_set_draw_buffer() static.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:49:30 +02:00
Zebediah Figura
68cd60436c
wined3d: Factor out context_gl_apply_texture_draw_state().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:49:27 +02:00
Jacek Caban
c5e7f1b0e5
winex11: Use Unix environment variable in remove_startup_notification.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:21 +02:00
Jacek Caban
ee405dd8b8
win32u: Move is_window_rect_full_screen implementation from winex11.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-20 17:31:18 +02:00