Robert Shearman : OLE: Update the type of the oVft parameter for DispCallFunc.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 6 14:27:16 CST 2005


Module: wine
Branch: refs/heads/master
Commit: 806cdce355428b2cbdb8e926fab06d9288e2323e
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=806cdce355428b2cbdb8e926fab06d9288e2323e

Author: Robert Shearman <rob at codeweavers.com>
Date:   Tue Dec  6 21:23:09 2005 +0100

OLE: Update the type of the oVft parameter for DispCallFunc.

---

 dlls/oleaut32/typelib.c |    2 +-
 include/oleauto.h       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 5c1d6c8..b2f417e 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -5160,7 +5160,7 @@ static HRESULT typedescvt_to_variantvt(I
  */
 HRESULT WINAPI
 DispCallFunc(
-    void* pvInstance, ULONG oVft, CALLCONV cc, VARTYPE vtReturn, UINT cActuals,
+    void* pvInstance, ULONG_PTR oVft, CALLCONV cc, VARTYPE vtReturn, UINT cActuals,
     VARTYPE* prgvt, VARIANTARG** prgpvarg, VARIANT* pvargResult)
 {
     int i, argsize, argspos;
diff --git a/include/oleauto.h b/include/oleauto.h
index 3317b81..e74882b 100644
--- a/include/oleauto.h
+++ b/include/oleauto.h
@@ -715,7 +715,7 @@ HRESULT WINAPI DispInvoke(void*,ITypeInf
                           EXCEPINFO*,UINT*);
 HRESULT WINAPI CreateDispTypeInfo(INTERFACEDATA*,LCID,ITypeInfo**);
 HRESULT WINAPI CreateStdDispatch(IUnknown*,void*,ITypeInfo*,IUnknown**);
-HRESULT WINAPI DispCallFunc(void*,ULONG,CALLCONV,VARTYPE,UINT,VARTYPE*,
+HRESULT WINAPI DispCallFunc(void*,ULONG_PTR,CALLCONV,VARTYPE,UINT,VARTYPE*,
                             VARIANTARG**,VARIANT*);
 
 




More information about the wine-cvs mailing list