quartz: Remove no longer necessary call to CoInitialize().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
73a5417a02
commit
ae5f945442
|
@ -158,8 +158,6 @@ static HRESULT unregister_filters(struct regsvr_filter const *list)
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
IFilterMapper2* pFM2;
|
IFilterMapper2* pFM2;
|
||||||
|
|
||||||
CoInitialize(NULL);
|
|
||||||
|
|
||||||
hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER, &IID_IFilterMapper2, (LPVOID*)&pFM2);
|
hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER, &IID_IFilterMapper2, (LPVOID*)&pFM2);
|
||||||
|
|
||||||
if (SUCCEEDED(hr)) {
|
if (SUCCEEDED(hr)) {
|
||||||
|
@ -168,8 +166,6 @@ static HRESULT unregister_filters(struct regsvr_filter const *list)
|
||||||
IFilterMapper2_Release(pFM2);
|
IFilterMapper2_Release(pFM2);
|
||||||
}
|
}
|
||||||
|
|
||||||
CoUninitialize();
|
|
||||||
|
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue