[1/2] scrrun: Invoke() takes inteface pointer, not a pointer to pointer

Nikolay Sivov nsivov at codeweavers.com
Mon Nov 5 07:39:16 CST 2012


Both patches are for http://bugs.winehq.org/show_bug.cgi?id=32118
-------------- next part --------------
>From 346cd810792ec1dcacfe62c8fd78f6b682e6b831 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun, 4 Nov 2012 10:36:16 -0500
Subject: [PATCH 1/2] Invoke() takes inteface pointer, not a pointer to
 pointer

---
 dlls/scrrun/filesystem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/scrrun/filesystem.c b/dlls/scrrun/filesystem.c
index ade3310..d79c061 100644
--- a/dlls/scrrun/filesystem.c
+++ b/dlls/scrrun/filesystem.c
@@ -127,7 +127,7 @@ static HRESULT WINAPI filesys_Invoke(IFileSystem3 *iface, DISPID dispIdMember,
     hr = get_typeinfo(IFileSystem3_tid, &typeinfo);
     if(SUCCEEDED(hr))
     {
-        hr = ITypeInfo_Invoke(typeinfo, &iface, dispIdMember, wFlags,
+        hr = ITypeInfo_Invoke(typeinfo, iface, dispIdMember, wFlags,
                 pDispParams, pVarResult, pExcepInfo, puArgErr);
         ITypeInfo_Release(typeinfo);
     }
-- 
1.7.10.4




More information about the wine-patches mailing list