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.