wshom.ocx/tests: Use proper method macro

Nikolay Sivov nsivov at codeweavers.com
Fri Aug 24 04:29:17 CDT 2012


Use proper method macro
-------------- next part --------------
>From c92ef8b83e0a395d0b227093bfc7d95264f75580 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri, 24 Aug 2012 13:23:43 +0400
Subject: [PATCH 6/6] Use proper method macro

---
 dlls/wshom.ocx/tests/wshom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wshom.ocx/tests/wshom.c b/dlls/wshom.ocx/tests/wshom.c
index c70696c..b2f60a8 100644
--- a/dlls/wshom.ocx/tests/wshom.c
+++ b/dlls/wshom.ocx/tests/wshom.c
@@ -64,7 +64,7 @@ static void test_wshshell(void)
     hr = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);
     EXPECT_HR(hr, E_NOINTERFACE);
 
-    hr = IDispatch_QueryInterface(shell, &IID_IWshShell3, (void**)&sh3);
+    hr = IUnknown_QueryInterface(shell, &IID_IWshShell3, (void**)&sh3);
     EXPECT_HR(hr, S_OK);
 
     hr = IWshShell3_get_SpecialFolders(sh3, &coll);
-- 
1.5.6.5



More information about the wine-patches mailing list