From 806cdce355428b2cbdb8e926fab06d9288e2323e Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Tue, 6 Dec 2005 21:23:09 +0100 Subject: [PATCH] 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 5c1d6c852e8..b2f417e9557 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -5160,7 +5160,7 @@ static HRESULT typedescvt_to_variantvt(ITypeInfo *tinfo, TYPEDESC *tdesc, VARTYP */ 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 3317b8167a4..e74882b53da 100644 --- a/include/oleauto.h +++ b/include/oleauto.h @@ -715,7 +715,7 @@ HRESULT WINAPI DispInvoke(void*,ITypeInfo*,DISPID,WORD,DISPPARAMS*,VARIANT*, 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*);