Lines Matching refs:pSource

86 static sal_Bool writeBackOutParameter(VARIANTARG* pDest, VARIANT* pSource);
87 static sal_Bool writeBackOutParameter2( VARIANTARG* pDest, VARIANT* pSource);
582 static sal_Bool writeBackOutParameter2( VARIANTARG* pDest, VARIANT* pSource) in writeBackOutParameter2() argument
608 if( SUCCEEDED( spValueDest->Set( CComVariant(), *pSource))) in writeBackOutParameter2()
630 dispparams.rgvarg = pSource; in writeBackOutParameter2()
634 if (pSource->vt == VT_UNKNOWN || pSource->vt == VT_DISPATCH || in writeBackOutParameter2()
635 (pSource->vt & VT_ARRAY) || (pSource->vt & VT_BYREF)) in writeBackOutParameter2()
647 ret= writeBackOutParameter( pDest, pSource); in writeBackOutParameter2()
651 ret= writeBackOutParameter( pDest, pSource); in writeBackOutParameter2()
659 static sal_Bool writeBackOutParameter(VARIANTARG* pDest, VARIANT* pSource) in writeBackOutParameter() argument
666 VARTYPE oleTypeFlags = V_VT(pSource); in writeBackOutParameter()
675 VariantCopy(V_VARIANTREF(pDest), pSource); in writeBackOutParameter()
687 hr= SafeArrayCopyData( V_ARRAY(pSource), *V_ARRAYREF(pDest)); in writeBackOutParameter()
690 hr= SafeArrayCopy(V_ARRAY(pSource), V_ARRAYREF(pDest)) == NOERROR; in writeBackOutParameter()
697 switch (V_VT(pSource)) in writeBackOutParameter()
701 *V_I2REF(pDest) = V_I2(pSource); in writeBackOutParameter()
706 *V_I4REF(pDest) = V_I4(pSource); in writeBackOutParameter()
710 *V_R4REF(pDest) = V_R4(pSource); in writeBackOutParameter()
714 *V_R8REF(pDest) = V_R8(pSource); in writeBackOutParameter()
718 *V_CYREF(pDest) = V_CY(pSource); in writeBackOutParameter()
722 *V_DATEREF(pDest) = V_DATE(pSource); in writeBackOutParameter()
728 *V_BSTRREF(pDest) = SysAllocString(V_BSTR(pSource)); in writeBackOutParameter()
735 *V_DISPATCHREF(pDest) = V_DISPATCH(pSource); in writeBackOutParameter()
743 *V_ERRORREF(pDest) = V_ERROR(pSource); in writeBackOutParameter()
747 *V_BOOLREF(pDest) = V_BOOL(pSource); in writeBackOutParameter()
754 *V_UNKNOWNREF(pDest) = V_UNKNOWN(pSource); in writeBackOutParameter()
762 *V_I1REF(pDest) = V_I1(pSource); in writeBackOutParameter()
766 *V_UI1REF(pDest) = V_UI1(pSource); in writeBackOutParameter()
770 *V_UI2REF(pDest) = V_UI2(pSource); in writeBackOutParameter()
774 *V_UI4REF(pDest) = V_UI4(pSource); in writeBackOutParameter()
778 *V_INTREF(pDest) = V_INT(pSource); in writeBackOutParameter()
782 *V_UINTREF(pDest) = V_UINT(pSource); in writeBackOutParameter()
786 memcpy(pDest->pdecVal, pSource, sizeof(DECIMAL)); in writeBackOutParameter()
799 && pSource->vt == VT_I2) in writeBackOutParameter()
805 buff[0]= pSource->iVal; in writeBackOutParameter()