Each successful call of CoInitializeEx (and S_FALSE) must be balanced by a corresponding call to CoUninitialize.