[PATCH v2 06/11] mfplat: Initialize COM in work queues.

Paul Gofman gofmanp at gmail.com
Tue Feb 11 02:13:26 CST 2020


On 2/11/20 01:32, Derek Lesho wrote:
>  
> +    CoInitializeEx(NULL, COINIT_MULTITHREADED);
> +
>      IRtwqAsyncCallback_Invoke(result->pCallback, item->result);
>  
> +    CoUninitialize();
> +
>      release_work_item(item);
>  }
>  

Can it happen that the apartment is already initialized as apartment
threaded earlier? If yes, this can leave the caller with uninitialized
apartment.




More information about the wine-devel mailing list