Rémi Bernon
c6011504a4
dinput: Rename This to device in dinput_device_alloc.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
10b00e66bc
dinput: Return an HRESULT from hid_joystick_device_try_open.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
ac7fa1677a
dinput: Return E_OUTOFMEMORY on allocation failure in hid_joystick_create_device().
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
dd5f3b6fc1
dinput: Rename dinput_device_init() to dinput_device_init_device_format().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
cc5178fe73
dinput: Factor out the dinput_device_init() call into dinput7_CreateDeviceEx().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
39f903481c
dinput: Store the user_format field inline in struct dinput_device.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Zebediah Figura
34bb223715
dinput: Store the device_format field inline in struct dinput_device.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
eb923466f1
winexinput.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
b83f97dffc
hidclass.sys: Clear the buffer passed to IOCTL_HID_GET_DEVICE_DESCRIPTOR.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Nikolay Sivov
bae687ec6b
vbscript: Implement DateSerial().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 22:10:15 +02:00
Rémi Bernon
279a6b1e48
ntdll: Simplify validate_free_block.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
12d611a03b
ntdll: Simplify validate_used_block.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
6ab0200119
ntdll: Simplify validate_large_arena.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
585f52231d
ntdll: Simplify validate_block_pointer.
...
And rename it to unsafe_block_from_ptr.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Rémi Bernon
13c836626d
ntdll: Use heap_validate_ptr in validate_block_pointer.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Martin Storsjö
ce4fdb1517
msvcrt: Hook up __C_specific_handler and __jump_unwind for arm.
...
This was set up for arm in ntdll and ucrtbase in
3ef9a04f91
, but msvcrt was missed.
Also hook them up similarly in msvcr110, msvcr120 and msvcr120_app.
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Jacek Caban
e2d79b395d
user32: Remove no longer used WINPOS_WindowFromPoint.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Jacek Caban
781b954424
win32u: Handle sys color brushes in fill_rect.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53004
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Zebediah Figura
588bd3e7f2
shlwapi/tests: Fix a test failure with the UTF-8 code page.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52870
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Francois Gouget
7618c6c6b7
mstask/tests: Fix the compare_trigger_state() failure lines.
...
compare_trigger_state() is called from multiple places and any failure
should be accounted for the calling place's line.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Francois Gouget
1017c188f7
mstask/tests: Ignore the compare_trigger_state() return value.
...
What counts is the ok() calls that compare_trigger_state() makes. Its
return value is meaningless.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Francois Gouget
3a3f406028
comctl32/tests: Use winetest_push_context() in tooltip:test_customdraw().
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Francois Gouget
43363df399
shell32: Shelllink: Make the create_lnk() failure messages unique.
...
create_lnk() reports all failures from the perspective of the caller.
That means the failure messages must be unique so one can figure out
which one of its ok() calls actually failed.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Nikolay Sivov
68fa3f6736
mfreadwrite/reader: Allocate output samples on read requests.
...
Instead of tracking when free notifications, simply propagate allocation
error to the caller. Behavior spotted by Giovanni.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Alexandre Julliard
610db32153
kernelbase: Cache the sortid for each locale.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Alexandre Julliard
093f6cbb8c
kernelbase: Move get_language_sort() to avoid forward declarations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 20:46:49 +02:00
Paul Gofman
05676e83e9
ntdll: Collect logical processor info at process start.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:25:15 +02:00
Paul Gofman
6aa437de6a
ntdll: Refactor logical processor info manipulation functions.
...
To reduce the diff in the next patch.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:25:12 +02:00
Paul Gofman
aadc1a0a80
ntdll: Move init_cpu_info() below create_logical_proc_info().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:25:12 +02:00
Paul Gofman
6ee6076216
ntdll: Fix allocation size in grow_logical_proc_ex_buf().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:25:12 +02:00
Rémi Bernon
ee937e8e4b
windows.gaming.input: Implement IForceFeedbackMotor_TryUnloadEffectAsync.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:21:43 +02:00
Rémi Bernon
7259346ab0
windows.gaming.input: Implement IForceFeedbackMotor_LoadEffectAsync.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:21:42 +02:00
Rémi Bernon
7a82be5d97
windows.gaming.input: Add a type parameter to force_feedback_effect_create.
...
And convert it to IDirectInputEffect type GUID.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:21:41 +02:00
Rémi Bernon
d5edf656ef
windows.gaming.input: Implement IForceFeedbackEffect interface for ConstantForceEffect.
...
Using COM aggregation and a new IWineForceFeedbackEffectImpl interface,
deriving from IUnknown as it is only used internally.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:21:39 +02:00
Rémi Bernon
aa37aad2c8
windows.gaming.input: Implement and instantiate ConstantForceEffect runtimeclass stubs.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:21:38 +02:00
Rémi Bernon
5097e67f55
dinput/tests: Increase async bool handler wait timeout.
...
We waited on the driver-side buffers to be sent, but sometimes the
async completion needs a bit more time to complete itself.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:21:36 +02:00
Gijs Vermeulen
8ee96cff6c
shell32/tests: Use 'shellpath' as tmpfile name in PathResolve tests.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52995
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 11:20:58 +02:00
Bernhard Kölbl
61a4cb972e
windows.media.speech: Rename async_operation to async_inspectable.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:42:52 +02:00
Bernhard Kölbl
0636cf5808
windows.media.speech/tests: Add a test for IAsyncOperation_get_Completed.
...
This one actually retrieves a handler.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:42:50 +02:00
Bernhard Kölbl
44cee36ca9
windows.media.speech/tests: Remove some unreliable ref checks.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:42:48 +02:00
Bernhard Kölbl
01d531f16f
windows.media.speech/tests: Make the IAsyncInfo_Close block test more consistent.
...
And do some minor naming changes.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:42:46 +02:00
Bernhard Kölbl
fc6857c432
windows.media.speech: Add a missing trace to async_operation_create.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:42:44 +02:00
Hans Leidekker
7bf7340eb6
msi/tests: Fix an intermittent test failure.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52993
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:42:06 +02:00
Dmitry Timoshkov
8151e695e3
d2d1/tests: Add some tests for ID2D1DeviceContext::CreateImageBrush().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:41:13 +02:00
Dmitry Timoshkov
73ca65b0b2
d2d1: Implement ID2D1DeviceContext::CreateImageBrush().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:41:01 +02:00
James McDonnell
67b70b867e
d2d1: Add a stub for ID2D1PathGeometry1.
...
Signed-off-by: James McDonnell <topgamer7@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:40:56 +02:00
James McDonnell
0b288df3e9
include: Add ID2D1PathGeometry1 definition.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:40:51 +02:00
Zebediah Figura
ab34fb78f8
include: Constify the RAWINPUTDEVICE pointer parameter to RegisterRawInputDevices().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-16 10:40:03 +02:00
Eric Pouech
5aa9340c3d
dbghelp: Set correct basic types definition.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00
Eric Pouech
d94f4747e8
dbghelp: Fix conversion of dwarf's basic types into dbghelp's basic types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-13 22:11:41 +02:00