Sweden-Number/dlls/dinput
Rémi Bernon b71cea76ed dinput: Wait for the hook thread to exit when stopping it.
FlatOut2 demo calls FreeLibrary on the dinput8 module more times than
it has loaded it, and the module reference that the internal thread has
is getting decremented before its exit.

Having an internal window to destroy also makes it more likely to crash
as it takes more time to exit calls the window procedure function.

Waiting for the thread to complete when all the dinput instances are
destroyed ensures that the thread isn't alive when the game frees the
DLL, and prevents the thread from crashing.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50673
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 09:40:54 +02:00
..
tests dinput: Implement device creation using product GUID. 2021-03-23 22:16:12 +01:00
Makefile.in makedep: Link importlib object files into module only when it's explicitly imported. 2020-01-23 21:11:29 +01:00
config.c
data_formats.c dinput: Add missing ASPECT flags to c_dfDIJoystick. 2020-01-21 20:58:01 +01:00
device.c dinput: Implement DIPROP_APPDATA. 2021-03-10 20:44:41 +01:00
device_private.h dinput8: Add support for rawinput based devices. 2020-08-13 21:17:15 +02:00
dinput.rc
dinput.spec
dinput_classes.idl
dinput_main.c dinput: Wait for the hook thread to exit when stopping it. 2021-03-29 09:40:54 +02:00
dinput_private.h dinput8: Use rawinput interface for mouse device. 2020-08-13 21:17:17 +02:00
effect_linuxinput.c dinput: Fix IDirectInputEffect::SetParameters() when called with flags=0. 2020-04-24 10:15:30 +02:00
joystick.c dinput: Implement device creation using product GUID. 2021-03-23 22:16:12 +01:00
joystick_linux.c dinput: Implement device creation using product GUID. 2021-03-23 22:16:12 +01:00
joystick_linuxinput.c dinput: Implement device creation using product GUID. 2021-03-23 22:16:12 +01:00
joystick_osx.c dinput: Implement device creation using product GUID. 2021-03-23 22:16:12 +01:00
joystick_private.h
keyboard.c dinput: Use dedicated list for mouse and keyboard. 2020-06-09 21:23:33 +02:00
mouse.c dinput8: Use rawinput interface for mouse device. 2020-08-13 21:17:17 +02:00
resource.h
version.rc