Check CoInitializeEx return code in jdirectshow JNI and do not call CoUninitialize if CoInitializeEx has not return S_OK or S_FALSE.