.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH DispCallFunc 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBDispCallFunc\fR (OLEAUT32.@) .SH SYNOPSIS HRESULT DispCallFunc ( void* \fIpvInstance\fR, ULONG_PTR \fIoVft\fR, CALLCONV \fIcc\fR, VARTYPE \fIvtReturn\fR, UINT \fIcActuals\fR, VARTYPE* \fIprgvt\fR, VARIANTARG** \fIprgpvarg\fR, VARIANT* \fIpvargResult\fR ) .SH DESCRIPTION .PP Invokes a function of the specified calling convention, passing the specified arguments and returns the result. .SH PARAMS \fIpvInstance\fR \fB[In]\fR Optional pointer to the instance whose function to invoke. .PP \fIoVft\fR \fB[In]\fR The offset in the vtable. See notes. .PP \fIcc\fR \fB[In]\fR Calling convention of the function to call. .PP \fIvtReturn\fR \fB[In]\fR The return type of the function. .PP \fIcActuals\fR \fB[In]\fR Number of parameters. .PP \fIprgvt\fR \fB[In]\fR The types of the parameters to pass. This is used for sizing only. .PP \fIprgpvarg\fR \fB[In]\fR The arguments to pass. .PP \fIpvargResult\fR \fB[Out]\fR The return value of the function. Can be \fBNULL\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBHRESULT\fR code. .SH NOTES .PP The \fBHRESULT\fR return value of this function is not affected by the return value of the user supplied function, which is returned in \fIpvargResult\fR. .PP If \fIpvInstance\fR is \fBNULL\fR then a non-object function is to be called and \fIoVft\fR is the address of the function to call. .PP The \fIcc\fR parameter can be one of the following values: .br CC_FASTCALL .br CC_CDECL .br CC_PASCAL .br CC_STDCALL .br CC_FPFASTCALL .br CC_SYSCALL .br CC_MPWCDECL .br CC_MPWPASCAL .SH IMPLEMENTATION .PP Declared in \fB"oleauto.h"\fR. .PP Implemented in \fB"dlls/oleaut32/typelib.c"\fR. .PP Debug channel \fB"ole"\fR.