qcap: Fix Query IID_PPin Interface return not found

Andrew Eikum aeikum at codeweavers.com
Mon Feb 13 09:26:45 CST 2017


I wrote a quick test for this, and Windows doesn't behave this way.

diff --git a/dlls/qcap/tests/qcap.c b/dlls/qcap/tests/qcap.c
index d7fe288f4a..eed101cee3 100644
--- a/dlls/qcap/tests/qcap.c
+++ b/dlls/qcap/tests/qcap.c
@@ -1990,6 +1990,8 @@ static void test_COM_vfwcapture(void)
     todo_wine ok(hr == E_NOINTERFACE, "QueryInterface for IID_IAMVideoProcAmp failed: %08x\n", hr);
     hr = IBaseFilter_QueryInterface(bf, &IID_IOverlayNotify, (void**)&unk);
     ok(hr == E_NOINTERFACE, "QueryInterface for IID_IOverlayNotify failed: %08x\n", hr);
+    hr = IBaseFilter_QueryInterface(bf, &IID_IPin, (void**)&unk);
+    ok(hr == E_NOINTERFACE, "QueryInterface for IID_IPin failed: %08x\n", hr);
 
     while (IBaseFilter_Release(bf));
 }


On Thu, Feb 09, 2017 at 02:25:33PM +0800, 谢威 wrote:
> ------------------
> ------------------
> 
> 
> 
> 武汉深之度科技有限公司
> Wuhan Deepin Technology Co., Ltd.
> 
>   谢威  
> 
> 手机:18038104349
> 
> 
> 武汉:武汉市光谷大道77号光谷金融港B18栋6楼 
> 北京:北京市海淀区知春路锦秋国际大厦B座501室
> 上海:上海市长宁区愚园路1258号15A01室
> 
> 
> 官网:www.deepin.com  官博:深度操作系统


> 




More information about the wine-devel mailing list