Commit 7a87da8f authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

mmdevapi: Set the name of internal threads.

parent fe5989bb
......@@ -1163,6 +1163,8 @@ static DWORD WINAPI notif_thread_proc(void *user)
WCHAR out_name[64], vout_name[64], in_name[64], vin_name[64];
DWORD size;
SetThreadDescription(GetCurrentThread(), L"wine_mmdevapi_notification");
lstrcpyW(reg_key, drv_keyW);
lstrcatW(reg_key, L"\\");
lstrcatW(reg_key, drvs.module_name);
......
......@@ -381,6 +381,8 @@ static DWORD WINAPI activate_async_threadproc(void *user)
{
struct activate_async_op *op = user;
SetThreadDescription(GetCurrentThread(), L"wine_mmdevapi_activate_async");
IActivateAudioInterfaceCompletionHandler_ActivateCompleted(op->callback, &op->IActivateAudioInterfaceAsyncOperation_iface);
IActivateAudioInterfaceAsyncOperation_Release(&op->IActivateAudioInterfaceAsyncOperation_iface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment