/reactos/dll/win32/browseui/ |
H A D | bandproxy.cpp | 114 V_ARRAY(&args) = SafeArrayCreateVector(VT_UI1, 0, arraySize); in NavigateToPIDL() 115 if (V_ARRAY(&args) == NULL) in NavigateToPIDL() 117 memcpy(V_ARRAY(&args)->pvData, pidl, arraySize); in NavigateToPIDL()
|
/reactos/dll/win32/msxml3/ |
H A D | element.c | 550 V_ARRAY(v) = SafeArrayCreate(VT_UI1, 1, &sab); in variant_from_dt() 552 if(!V_ARRAY(v)) in variant_from_dt() 591 V_ARRAY(v) = SafeArrayCreate(VT_UI1, 1, &sab); in variant_from_dt() 593 if(!V_ARRAY(v)) in variant_from_dt() 869 UINT dim = SafeArrayGetDim(V_ARRAY(&value)); in domelem_put_nodeTypedValue() 878 SafeArrayGetUBound(V_ARRAY(&value), 1, &ubound); in domelem_put_nodeTypedValue() 879 SafeArrayGetLBound(V_ARRAY(&value), 1, &lbound); in domelem_put_nodeTypedValue() 887 SafeArrayUnaccessData(V_ARRAY(&value)); in domelem_put_nodeTypedValue() 902 UINT dim = SafeArrayGetDim(V_ARRAY(&value)); in domelem_put_nodeTypedValue() 911 SafeArrayGetUBound(V_ARRAY(&value), 1, &ubound); in domelem_put_nodeTypedValue() [all …]
|
H A D | saxreader.c | 2664 hr = SafeArrayGetLBound(V_ARRAY(&varInput), 1, &lBound); in internal_parse() 2666 hr = SafeArrayGetUBound(V_ARRAY(&varInput), 1, &uBound); in internal_parse() 2668 dataRead = (uBound-lBound)*SafeArrayGetElemsize(V_ARRAY(&varInput)); in internal_parse() 2669 hr = SafeArrayAccessData(V_ARRAY(&varInput), &pSAData); in internal_parse() 2672 SafeArrayUnaccessData(V_ARRAY(&varInput)); in internal_parse()
|
/reactos/modules/rostests/winetests/wshom/ |
H A D | wshom.c | 490 dim = SafeArrayGetDim(V_ARRAY(&value)); in test_registry() 493 hr = SafeArrayGetLBound(V_ARRAY(&value), 1, &bound); in test_registry() 497 hr = SafeArrayGetUBound(V_ARRAY(&value), 1, &bound); in test_registry() 501 hr = SafeArrayGetVartype(V_ARRAY(&value), &vartype); in test_registry() 506 hr = SafeArrayGetElement(V_ARRAY(&value), &bound, &v); in test_registry() 524 dim = SafeArrayGetDim(V_ARRAY(&value)); in test_registry() 527 hr = SafeArrayGetLBound(V_ARRAY(&value), 1, &bound); in test_registry() 531 hr = SafeArrayGetUBound(V_ARRAY(&value), 1, &bound); in test_registry() 535 hr = SafeArrayGetVartype(V_ARRAY(&value), &vartype); in test_registry() 540 hr = SafeArrayGetElement(V_ARRAY(&value), &bound, &v); in test_registry()
|
/reactos/dll/directx/wine/devenum/ |
H A D | mediacatenum.c | 226 if (!(V_ARRAY(pVar) = SafeArrayCreate(VT_UI1, 1, &bound))) in DEVENUM_IPropertyBag_Read() 236 res = SafeArrayAccessData(V_ARRAY(pVar), &pArrayElements); in DEVENUM_IPropertyBag_Read() 241 res = SafeArrayUnaccessData(V_ARRAY(pVar)); in DEVENUM_IPropertyBag_Read() 296 res = SafeArrayGetLBound(V_ARRAY(pVar), 1, &lLbound); in DEVENUM_IPropertyBag_Write() 297 res = SafeArrayGetUBound(V_ARRAY(pVar), 1, &lUbound); in DEVENUM_IPropertyBag_Write() 300 res = SafeArrayAccessData(V_ARRAY(pVar), &lpData); in DEVENUM_IPropertyBag_Write() 322 res = SafeArrayUnaccessData(V_ARRAY(pVar)); in DEVENUM_IPropertyBag_Write()
|
H A D | createdevenum.c | 398 if (!(V_ARRAY(&var) = SafeArrayCreate(VT_UI1, 1, &sabound))) in write_filter_data() 400 hr = SafeArrayAccessData(V_ARRAY(&var), (void *)&array); in write_filter_data() 404 hr = SafeArrayUnaccessData(V_ARRAY(&var)); in write_filter_data()
|
/reactos/dll/win32/aclui/ |
H A D | misc.c | 290 hRet = SafeArrayAccessData(V_ARRAY(vSid), in InvokeObjectPickerDialog() 305 SafeArrayUnaccessData(V_ARRAY(vSid)); in InvokeObjectPickerDialog()
|
/reactos/modules/rostests/winetests/oleaut32/ |
H A D | safearray.c | 643 V_ARRAY(&v) = a; in test_safearray() 1664 V_ARRAY(&v) = sa; in test_SafeArrayClear() 1667 ok(V_ARRAY(&v) == sa, "VariantClear: Overwrote value\n"); in test_SafeArrayClear() 1675 V_ARRAY(&v) = sa; in test_SafeArrayClear() 1714 V_ARRAY(&vSrc) = sa; in test_SafeArrayCopy() 1722 hres = SafeArrayDestroy(V_ARRAY(&vSrc)); in test_SafeArrayCopy() 1724 hres = SafeArrayDestroy(V_ARRAY(&vDst)); in test_SafeArrayCopy() 1840 V_ARRAY(&v) = sa; in test_SafeArrayChangeTypeEx() 1871 V_ARRAY(&v) = sa; in test_SafeArrayChangeTypeEx() 1900 V_ARRAY(&v) = sa; in test_SafeArrayChangeTypeEx() [all …]
|
H A D | usrmarshal.c | 1299 V_ARRAY(&v) = lpsa; in test_marshal_VARIANT() 1320 ok(SafeArrayGetDim(V_ARRAY(&v)) == SafeArrayGetDim(V_ARRAY(&v2)), "array dims differ\n"); in test_marshal_VARIANT() 1321 SafeArrayGetLBound(V_ARRAY(&v), 1, &bound); in test_marshal_VARIANT() 1322 SafeArrayGetLBound(V_ARRAY(&v2), 1, &bound2); in test_marshal_VARIANT() 1324 SafeArrayGetUBound(V_ARRAY(&v), 1, &bound); in test_marshal_VARIANT() 1325 SafeArrayGetUBound(V_ARRAY(&v2), 1, &bound2); in test_marshal_VARIANT() 1329 pSafeArrayGetVartype(V_ARRAY(&v), &vt); in test_marshal_VARIANT() 1330 pSafeArrayGetVartype(V_ARRAY(&v2), &vt2); in test_marshal_VARIANT()
|
/reactos/dll/win32/mshtml/ |
H A D | olecmd.c | 263 if(V_ARRAY(pvaIn)->cDims != 1) in exec_print() 264 WARN("cDims = %d\n", V_ARRAY(pvaIn)->cDims); in exec_print() 266 SafeArrayAccessData(V_ARRAY(pvaIn), (void**)&opts); in exec_print() 267 opts_cnt = V_ARRAY(pvaIn)->rgsabound[0].cElements; in exec_print() 298 SafeArrayUnaccessData(V_ARRAY(pvaIn)); in exec_print()
|
/reactos/modules/rostests/winetests/propsys/ |
H A D | propsys.c | 530 size = SafeArrayGetDim(V_ARRAY(&var)); in test_InitPropVariantFromBuffer() 532 hres = SafeArrayGetLBound(V_ARRAY(&var), 1, &size); in test_InitPropVariantFromBuffer() 535 hres = SafeArrayGetUBound(V_ARRAY(&var), 1, &size); in test_InitPropVariantFromBuffer() 543 size = SafeArrayGetDim(V_ARRAY(&var)); in test_InitPropVariantFromBuffer() 545 hres = SafeArrayGetLBound(V_ARRAY(&var), 1, &size); in test_InitPropVariantFromBuffer() 548 hres = SafeArrayGetUBound(V_ARRAY(&var), 1, &size); in test_InitPropVariantFromBuffer() 551 hres = SafeArrayAccessData(V_ARRAY(&var), &data_out); in test_InitPropVariantFromBuffer() 554 hres = SafeArrayUnaccessData(V_ARRAY(&var)); in test_InitPropVariantFromBuffer()
|
/reactos/dll/win32/wbemprox/ |
H A D | query.c | 1098 V_ARRAY( ret ) = val_ptr; in set_variant() 1284 if (SafeArrayGetVartype( V_ARRAY( var ), &vartype ) != S_OK) return NULL; in to_array() 1286 if (SafeArrayGetUBound( V_ARRAY( var ), 1, &bound ) != S_OK) return NULL; in to_array() 1302 if (SafeArrayGetElement( V_ARRAY( var ), &i, &str ) != S_OK) in to_array() 1315 else if (SafeArrayGetElement( V_ARRAY( var ), &i, ptr ) != S_OK) in to_array()
|
/reactos/modules/rostests/winetests/msxml3/ |
H A D | httpreq.c | 1692 …ok(SafeArrayGetDim(V_ARRAY(&varbody)) == 1, "got %d, expected one dimension\n", SafeArrayGetDim(V_… in test_XMLHTTP() 1695 hr = SafeArrayGetLBound(V_ARRAY(&varbody), 1, &bound); in test_XMLHTTP() 1699 hr = SafeArrayAccessData(V_ARRAY(&varbody), &ptr); in test_XMLHTTP() 1702 SafeArrayUnaccessData(V_ARRAY(&varbody)); in test_XMLHTTP()
|
H A D | domdoc.c | 499 dim = SafeArrayGetDim(V_ARRAY(&input)); in response_BinaryWrite() 8615 SafeArrayUnaccessData(V_ARRAY(&value)); in test_put_nodeTypedValue() 8634 V_ARRAY(&value) = array; in test_put_nodeTypedValue() 8654 SafeArrayUnaccessData(V_ARRAY(&value)); in test_put_nodeTypedValue() 8683 V_ARRAY(&value) = array; in test_put_nodeTypedValue() 8703 SafeArrayUnaccessData(V_ARRAY(&value)); in test_put_nodeTypedValue() 10348 hr = SafeArrayAccessData(V_ARRAY(&src), &ptr); in test_load() 10353 hr = SafeArrayUnlock(V_ARRAY(&src)); in test_load() 10381 hr = SafeArrayAccessData(V_ARRAY(&src), &ptr); in test_load() 10386 hr = SafeArrayUnlock(V_ARRAY(&src)); in test_load() [all …]
|
/reactos/modules/rostests/winetests/wbemprox/ |
H A D | query.c | 699 hr = SafeArrayAccessData( V_ARRAY( &val ), (void **)&data ); in test_Win32_SystemEnclosure() 705 hr = SafeArrayGetLBound( V_ARRAY( &val ), 1, &lower ); in test_Win32_SystemEnclosure() 707 hr = SafeArrayGetUBound( V_ARRAY( &val ), 1, &upper ); in test_Win32_SystemEnclosure() 714 hr = SafeArrayUnaccessData( V_ARRAY( &val ) ); in test_Win32_SystemEnclosure() 1162 hr = SafeArrayAccessData( V_ARRAY( &var_sd ), &data ); in test_SystemSecurity() 1174 hr = SafeArrayUnaccessData( V_ARRAY( &var_sd ) ); in test_SystemSecurity()
|
/reactos/dll/win32/jscript/ |
H A D | vbarray.c | 313 hres = SafeArrayCopy(V_ARRAY(get_variant(argv[0])), &vbarray->safearray); in VBArrayConstr_value()
|
/reactos/dll/win32/oleaut32/ |
H A D | usrmarshal.c | 296 return LPSAFEARRAY_UserSize(pFlags, Start, &V_ARRAY(pvar)); in wire_extra_user_size() 446 Pos = LPSAFEARRAY_UserMarshal(pFlags, Pos, &V_ARRAY(pvar)); in VARIANT_UserMarshal() 551 V_ARRAY(pvar) = NULL; in VARIANT_UserUnmarshal() 577 Pos = LPSAFEARRAY_UserUnmarshal(pFlags, Pos, &V_ARRAY(pvar)); in VARIANT_UserUnmarshal() 633 LPSAFEARRAY_UserFree(pFlags, &V_ARRAY(pvar)); in VARIANT_UserFree()
|
H A D | variant.c | 504 return BstrFromVector(V_ARRAY(ps), &V_BSTR(pd)); in VARIANT_CoerceArray() 507 return VectorFromBstr(V_BSTR(ps), &V_ARRAY(pd)); in VARIANT_CoerceArray() 510 return SafeArrayCopy(V_ARRAY(ps), &V_ARRAY(pd)); in VARIANT_CoerceArray() 626 else if (V_ARRAY(pVarg)) in VARIANT_ClearInd() 627 hres = SafeArrayDestroy(V_ARRAY(pVarg)); in VARIANT_ClearInd() 662 hres = SafeArrayDestroy(V_ARRAY(pVarg)); in VariantClear() 783 hres = SafeArrayCopy(V_ARRAY(pvargSrc), &V_ARRAY(pvargDest)); in VariantCopy() 891 hres = SafeArrayCopy(*V_ARRAYREF(pSrc), &V_ARRAY(pvargDest)); in VariantCopyInd()
|
/reactos/dll/win32/scrrun/ |
H A D | dictionary.c | 611 V_ARRAY(items) = sa; in dictionary_Items() 674 V_ARRAY(keys) = sa; in dictionary_Keys()
|
/reactos/sdk/include/reactos/wine/ |
H A D | debug.h | 297 return wine_dbg_sprintf( "%p {%s %p}", v, wine_dbgstr_vt(V_VT(v)), V_ARRAY(v) ); in wine_dbgstr_variant()
|
/reactos/modules/rostests/winetests/scrrun/ |
H A D | dictionary.c | 857 hr = SafeArrayGetElement(V_ARRAY(&keys), &index, &key); in test_Keys() 861 index = SafeArrayGetDim(V_ARRAY(&keys)); in test_Keys() 864 hr = SafeArrayGetUBound(V_ARRAY(&keys), 1, &index); in test_Keys()
|
/reactos/dll/directx/wine/quartz/ |
H A D | filtermapper.c | 800 V_ARRAY(&var) = psa; in FilterMapper3_RegisterFilter() 1006 hrSub = SafeArrayAccessData(V_ARRAY(&var), (LPVOID*)&pData); in FilterMapper3_EnumMatchingFilters() 1012 SafeArrayUnaccessData(V_ARRAY(&var)); in FilterMapper3_EnumMatchingFilters()
|
/reactos/dll/win32/ieframe/ |
H A D | navigate.c | 606 V_ARRAY(&var_post_data) = post_data; in on_before_navigate2() 759 V_ARRAY(&post_data_var) = post_data; in html_window_navigate() 958 post_array = V_ISBYREF(PostData) ? *V_ARRAYREF(PostData) : V_ARRAY(PostData); in navigate_url()
|
/reactos/dll/directx/wine/dxdiagn/ |
H A D | provider.c | 1813 hr = SafeArrayAccessData(V_ARRAY(&v), (void **)&pData); in fill_filter_container() 1817 hr = fill_filter_data_information(subcont, pData, V_ARRAY(&v)->rgsabound->cElements); in fill_filter_container() 1818 SafeArrayUnaccessData(V_ARRAY(&v)); in fill_filter_container()
|
/reactos/dll/win32/vbscript/ |
H A D | interp.c | 550 array = V_ARRAY(ref.u.v); in do_icall() 745 array = V_ARRAY(v); in assign_ident() 1153 hres = create_safearray_iter(V_ISBYREF(v.v) ? *V_ARRAYREF(v.v) : V_ARRAY(v.v), &iter); in interp_newenum()
|