March 7, 2020 10:01 AM, "Zebediah Figura" z.figura12@gmail.com wrote:
diff --git a/dlls/qcap/qcap_main.c b/dlls/qcap/qcap_main.c index c5b4931c907..2b9850cb329 100644 --- a/dlls/qcap/qcap_main.c +++ b/dlls/qcap/qcap_main.c @@ -174,8 +252,21 @@ HRESULT WINAPI DllRegisterServer(void) */ HRESULT WINAPI DllUnregisterServer(void) {
- TRACE("\n");
- return AMovieDllRegisterServer2(FALSE);
- IFilterMapper2 *mapper;
- HRESULT hr;
- if (FAILED(hr = __wine_unregister_resources( qcap_instance )))
return hr;
- if (FAILED(hr = CoCreateInstance(&CLSID_FilterMapper2, NULL, CLSCTX_INPROC_SERVER,
&IID_IFilterMapper2, (void **)&mapper)))
return hr;
- IFilterMapper2_UnregisterFilter(mapper, NULL, NULL, &CLSID_SampleGrabber);
- IFilterMapper2_UnregisterFilter(mapper, NULL, NULL, &CLSID_NullRenderer);
Looks like a copy-pasto from patch 1.
- IFilterMapper2_Release(mapper);
- return S_OK;
}
/***********************************************************************
Chip