winmm: Initialize COM for MULTITHREADED, not APARTMENTTHREADED.

This commit is contained in:
Andrew Eikum 2012-01-31 12:53:00 -06:00 committed by Alexandre Julliard
parent ab7f8a160f
commit 6847e882b8
1 changed files with 1 additions and 1 deletions

View File

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