Lines Matching refs:pDest

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
588 CComVariant varDest( *pDest); in writeBackOutParameter2()
612 else if (pDest->vt == VT_DISPATCH)// VT_DISPATCH -> JScript out param 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
664 if ((V_VT(pDest) & VT_BYREF) != 0 ) in writeBackOutParameter()
669 if (V_VT(pDest) == (VT_VARIANT | VT_BYREF)) in writeBackOutParameter()
675 VariantCopy(V_VARIANTREF(pDest), pSource); in writeBackOutParameter()
681 if ((V_VT(pDest) & oleTypeFlags) == oleTypeFlags) in writeBackOutParameter()
686 if( *V_ARRAYREF(pDest) != NULL) 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()
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()
726 SysFreeString( *pDest->pbstrVal); in writeBackOutParameter()
728 *V_BSTRREF(pDest) = SysAllocString(V_BSTR(pSource)); in writeBackOutParameter()
732 if (*V_DISPATCHREF(pDest) != NULL) in writeBackOutParameter()
733 (*V_DISPATCHREF(pDest))->Release(); in writeBackOutParameter()
735 *V_DISPATCHREF(pDest) = V_DISPATCH(pSource); in writeBackOutParameter()
737 if (*V_DISPATCHREF(pDest) != NULL) in writeBackOutParameter()
738 (*V_DISPATCHREF(pDest))->AddRef(); in writeBackOutParameter()
743 *V_ERRORREF(pDest) = V_ERROR(pSource); in writeBackOutParameter()
747 *V_BOOLREF(pDest) = V_BOOL(pSource); in writeBackOutParameter()
751 if (*V_UNKNOWNREF(pDest) != NULL) in writeBackOutParameter()
752 (*V_UNKNOWNREF(pDest))->Release(); in writeBackOutParameter()
754 *V_UNKNOWNREF(pDest) = V_UNKNOWN(pSource); in writeBackOutParameter()
756 if (*V_UNKNOWNREF(pDest) != NULL) in writeBackOutParameter()
757 (*V_UNKNOWNREF(pDest))->AddRef(); 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()
798 if( pDest->vt == (VT_BSTR | VT_BYREF) in writeBackOutParameter()
807 SysFreeString( *pDest->pbstrVal); in writeBackOutParameter()
808 *pDest->pbstrVal= SysAllocString( buff); in writeBackOutParameter()