mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
mmdevapi: Set the name of internal threads.
This commit is contained in:
parent
fe5989bbd2
commit
7a87da8fab
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue