Added pa_win_coinitialize.c to MSVC project and windows configure scripts
This commit is contained in:
parent
52ab9d6600
commit
b5fc9f995f
4 changed files with 8 additions and 4 deletions
|
|
@ -79,7 +79,7 @@ PaError PaWinUtil_CoInitialize( PaHostApiTypeId hostApiType, PaWinUtilComInitial
|
|||
hr = CoInitialize(0); /* use legacy-safe equivalent to CoInitializeEx(NULL, COINIT_APARTMENTTHREADED) */
|
||||
if( FAILED(hr) && hr != RPC_E_CHANGED_MODE )
|
||||
{
|
||||
PA_DEBUG(("CoInitializeEx failed. hr=%d\n", hr));
|
||||
PA_DEBUG(("CoInitialize(0) failed. hr=%d\n", hr));
|
||||
|
||||
if( hr == E_OUTOFMEMORY )
|
||||
return paInsufficientMemory;
|
||||
|
|
|
|||
Loading…
Reference in a new issue