windows.gaming.input: Add a description to the monitor thread.

This commit is contained in:
Rémi Bernon 2023-02-22 16:07:48 +01:00 committed by Alexandre Julliard
parent 4885bdda95
commit aa92cabd67

View file

@ -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 );