From: Rémi Bernon rbernon@codeweavers.com
--- dlls/dinput/dinput_main.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c index f99ebbc2404..a3ff8283561 100644 --- a/dlls/dinput/dinput_main.c +++ b/dlls/dinput/dinput_main.c @@ -363,6 +363,8 @@ static DWORD WINAPI dinput_thread_proc( void *params ) DWORD ret; MSG msg;
+ SetThreadDescription( GetCurrentThread(), L"wine_dinput_worker" ); + di_em_win = CreateWindowW( L"DIEmWin", L"DIEmWin", 0, 0, 0, 0, 0, HWND_MESSAGE, 0, DINPUT_instance, NULL ); input_thread_state = &state; SetEvent( start_event );
From: Rémi Bernon rbernon@codeweavers.com
--- dlls/windows.gaming.input/main.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/windows.gaming.input/main.c b/dlls/windows.gaming.input/main.c index a20630cd20b..39c0540aace 100644 --- a/dlls/windows.gaming.input/main.c +++ b/dlls/windows.gaming.input/main.c @@ -116,6 +116,8 @@ static DWORD WINAPI monitor_thread_proc( void *param ) HWND hwnd; MSG msg;
+ SetThreadDescription( GetCurrentThread(), L"wine_wginput_worker" ); + GetModuleHandleExW( GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (void *)windows_gaming_input, &module ); RegisterClassExW( &wndclass ); hwnd = CreateWindowExW( 0, wndclass.lpszClassName, NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL );