Alistair Leslie-Hughes : ole32/tests: Test for the correct IID.

Alexandre Julliard julliard at winehq.org
Wed Jan 23 17:11:33 CST 2019


Module: wine
Branch: master
Commit: f1e406d71fd68bbd5d92cb3a4117e29594986536
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f1e406d71fd68bbd5d92cb3a4117e29594986536

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Sun Jan 20 22:34:13 2019 +0000

ole32/tests: Test for the correct IID.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/tests/compobj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ole32/tests/compobj.c b/dlls/ole32/tests/compobj.c
index 33a7585..d3b4dc7 100644
--- a/dlls/ole32/tests/compobj.c
+++ b/dlls/ole32/tests/compobj.c
@@ -788,7 +788,7 @@ static HRESULT WINAPI MessageFilter_QueryInterface(IMessageFilter *iface, REFIID
     if (ppvObj == NULL) return E_POINTER;
 
     if (IsEqualGUID(riid, &IID_IUnknown) ||
-        IsEqualGUID(riid, &IID_IClassFactory))
+        IsEqualGUID(riid, &IID_IMessageFilter))
     {
         *ppvObj = iface;
         IMessageFilter_AddRef(iface);




More information about the wine-cvs mailing list