DispCallFunc (OLEAUT32.@)
HRESULT DispCallFunc ( void* pvInstance, ULONG_PTR oVft, CALLCONV cc, VARTYPE vtReturn, UINT cActuals, VARTYPE* prgvt, VARIANTARG** prgpvarg, VARIANT* pvargResult )
Invokes a function of the specifed calling convention, passing the specified arguments and returns the result.
pvInstance | [In] | Optional pointer to the instance whose function to invoke. |
oVft | [In] | The offset in the vtable. See notes. |
cc | [In] | Calling convention of the function to call. |
vtReturn | [In] | The return type of the function. |
cActuals | [In] | Number of parameters. |
prgvt | [In] | The types of the parameters to pass. This is used for sizing only. |
prgpvarg | [In] | The arguments to pass. |
pvargResult | [Out] | The return value of the function. Can be NULL. |
Success: S_OK.
Failure: HRESULT code.
The HRESULT return value of this function is not affected by the return value of the user supplied function, which is returned in pvargResult.
If pvInstance is NULL then a non-object function is to be called and oVft is the address of the function to call.
The cc parameter can be one of the following values:
CC_FASTCALL CC_CDECL CC_PASCAL CC_STDCALL CC_FPFASTCALL CC_SYSCALL CC_MPWCDECL CC_MPWPASCAL
Defined in "oleauto.h".
Implemented in "dlls/oleaut32/typelib.c". source.winehq.org/source/dlls/oleaut32/typelib.c
Debug channel "ole".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.