table of contents
other versions
- wheezy 1.4.1-4
DispCallFunc(3w) | Wine API | DispCallFunc(3w) |
NAME¶
DispCallFunc (OLEAUT32.@)SYNOPSIS¶
HRESULT DispCallFunc(
void* pvInstance,
ULONG_PTR oVft,
CALLCONV cc,
VARTYPE vtReturn,
UINT cActuals,
VARTYPE* prgvt,
VARIANTARG** prgpvarg,
VARIANT* pvargResult
)
DESCRIPTION¶
Invokes a function of the specified calling convention, passing the specified arguments and returns the result.PARAMS¶
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.RETURNS¶
Success: S_OK. Failure: HRESULT code.NOTES¶
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:IMPLEMENTATION¶
Declared in "oleauto.h". Implemented in "dlls/oleaut32/typelib.c". Debug channel "ole".Oct 2012 | Wine API |