Lines Matching refs:vt
142 VARTYPE vt; in com_write_dimension() local
145 if (FAILED(SafeArrayGetVartype(V_ARRAY(&obj->v), &vt)) || vt == VT_EMPTY) { in com_write_dimension()
146 vt = V_VT(&obj->v) & ~VT_ARRAY; in com_write_dimension()
155 if (V_VT(&v) != vt) { in com_write_dimension()
156 VariantChangeType(&v, &v, 0, vt); in com_write_dimension()
159 if (vt == VT_VARIANT) { in com_write_dimension()
436 VARTYPE vt = VT_EMPTY; in com_object_cast() local
456 vt = VT_I4; in com_object_cast()
458 vt = VT_I8; in com_object_cast()
462 vt = VT_R8; in com_object_cast()
467 vt = VT_BOOL; in com_object_cast()
470 vt = VT_BSTR; in com_object_cast()
476 if (vt != VT_EMPTY && vt != V_VT(&v)) { in com_object_cast()
477 res = VariantChangeType(&v, &v, 0, vt); in com_object_cast()