mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
winmm: Initialize COM for MULTITHREADED, not APARTMENTTHREADED.
This commit is contained in:
parent
ab7f8a160f
commit
6847e882b8
@ -2040,7 +2040,7 @@ static DWORD WINAPI WINMM_DevicesThreadProc(void *arg)
|
||||
HRESULT hr;
|
||||
static const WCHAR messageW[] = {'M','e','s','s','a','g','e',0};
|
||||
|
||||
hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
||||
hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
if(FAILED(hr)){
|
||||
ERR("CoInitializeEx failed: %08x\n", hr);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user