Lines Matching refs:pVariant
196 VARIANT* pVariant = *(VARIANT**)oleAny.getValue(); in CreateInstance() local
198 if (pVariant->vt == VT_DISPATCH) in CreateInstance()
200 ret = pVariant->pdispVal->QueryInterface(riid, ppv); in CreateInstance()
203 VariantClear(pVariant); in CreateInstance()
204 CoTaskMemFree(pVariant); in CreateInstance()
335 VARIANT* pVariant = *(VARIANT**)oleAny.getValue(); in CreateInstance() local
337 if ((pVariant->vt == VT_UNKNOWN) || (pVariant->vt == VT_DISPATCH)) in CreateInstance()
339 ret = pVariant->punkVal->QueryInterface(riid, ppv); in CreateInstance()
342 VariantClear(pVariant); in CreateInstance()
343 CoTaskMemFree(pVariant); in CreateInstance()
410 VARIANT* pVariant = (VARIANT*) CoTaskMemAlloc(sizeof(VARIANT)); in createBridge() local
411 VariantInit( pVariant); in createBridge()
414 anyToVariant( pVariant, modelDepObject); in createBridge()
418 CoTaskMemFree(pVariant); in createBridge()
421 ret.setValue((void*) &pVariant, getCppuType((sal_uInt32*)0)); in createBridge()
435 VARIANT* pVariant = (VARIANT*) CoTaskMemAlloc(sizeof(VARIANT)); in createBridge() local
437 if (NOERROR != VariantCopy(pVariant, *(VARIANT**)modelDepObject.getValue())) in createBridge()
439 CoTaskMemFree(pVariant); in createBridge()
444 ret.setValue((void*) &pVariant, getCppuType((sal_uInt32*)0)); in createBridge()
450 VARIANT* pVariant = *(VARIANT**)modelDepObject.getValue(); in createBridge() local
453 variantToAny(pVariant, ret); in createBridge()