Nikolay Sivov : wshom: Fix IWshShell3::Invoke() call to use correct implementation pointer.

Alexandre Julliard julliard at winehq.org
Mon May 15 16:09:22 CDT 2017


Module: wine
Branch: master
Commit: 2619bdb94fa59034a0ebef8bd7f4ba84d67acbdf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2619bdb94fa59034a0ebef8bd7f4ba84d67acbdf

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun May 14 06:44:34 2017 +0300

wshom: Fix IWshShell3::Invoke() call to use correct implementation pointer.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wshom.ocx/shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wshom.ocx/shell.c b/dlls/wshom.ocx/shell.c
index f8c2a4b..b00bc10 100644
--- a/dlls/wshom.ocx/shell.c
+++ b/dlls/wshom.ocx/shell.c
@@ -1192,7 +1192,7 @@ static HRESULT WINAPI WshShell3_Invoke(IWshShell3 *iface, DISPID dispIdMember, R
     hr = get_typeinfo(IWshShell3_tid, &typeinfo);
     if(SUCCEEDED(hr))
     {
-        hr = ITypeInfo_Invoke(typeinfo, &WshShell3, dispIdMember, wFlags,
+        hr = ITypeInfo_Invoke(typeinfo, &WshShell3.IWshShell3_iface, dispIdMember, wFlags,
                 pDispParams, pVarResult, pExcepInfo, puArgErr);
         ITypeInfo_Release(typeinfo);
     }




More information about the wine-cvs mailing list