ReactOS 0.4.16-dev-311-g9382aa2
|
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winerror.h"
#include "winbase.h"
#include "variant.h"
#include "wine/debug.h"
Go to the source code of this file.
Macros | |
#define | COBJMACROS |
#define | SAFEARRAY_HIDDEN_SIZE sizeof(GUID) |
Variables | |
static const USHORT | ignored_copy_features |
#define COBJMACROS |
Definition at line 38 of file safearray.c.
Definition at line 84 of file safearray.c.
Definition at line 1740 of file safearray.c.
Referenced by VARIANT_CoerceArray().
Definition at line 180 of file safearray.c.
Referenced by SAFEARRAY_CreateVector(), and SafeArrayAllocDescriptor().
Definition at line 349 of file safearray.c.
Referenced by SafeArrayCopy(), and SafeArrayCopyData().
|
static |
Definition at line 218 of file safearray.c.
Referenced by SafeArrayCreate(), SafeArrayCreateEx(), and VectorFromBstr().
|
static |
Definition at line 252 of file safearray.c.
Referenced by SafeArrayCreateVector(), and SafeArrayCreateVectorEx().
Definition at line 283 of file safearray.c.
Referenced by SafeArrayDestroyData(), SafeArrayDestroyDescriptor(), and SafeArrayRedim().
Definition at line 105 of file safearray.c.
Referenced by SafeArrayCopy(), SafeArrayDestroyData(), SafeArrayDestroyDescriptor(), and SafeArrayRedim().
Definition at line 162 of file safearray.c.
Referenced by SAFEARRAY_CopyData(), SAFEARRAY_DestroyData(), SafeArrayAllocData(), SafeArrayCopy(), SafeArrayDestroyData(), and SafeArrayRedim().
Definition at line 155 of file safearray.c.
Referenced by SAFEARRAY_CopyData(), and SafeArrayGetVartype().
Definition at line 111 of file safearray.c.
Referenced by SafeArrayAllocDescriptorEx(), SafeArrayCreateVector(), SafeArrayCreateVectorEx(), test_SafeArrayCreateLockDestroy(), and test_VectorCreateLockDestroy().
Definition at line 96 of file safearray.c.
Referenced by SAFEARRAY_AllocDescriptor(), SafeArrayAllocData(), SafeArrayCopy(), and SafeArrayRedim().
Definition at line 195 of file safearray.c.
Referenced by SAFEARRAY_CreateVector(), and SafeArrayAllocDescriptorEx().
Definition at line 147 of file safearray.c.
Referenced by SAFEARRAY_CopyData(), and SAFEARRAY_SetFeatures().
Definition at line 1137 of file safearray.c.
Referenced by check_safearray(), CreateByteArray(), DEVENUM_IPropertyBag_Read(), DEVENUM_IPropertyBag_Write(), dictionary_Items(), dictionary_Keys(), doc_complex_write(), doc_write(), document_write(), exec_print(), fill_filter_container(), FilterMapper3_EnumMatchingFilters(), FilterMapper3_RegisterFilter(), Global_Array(), Global_InvokeEx(), Host_Echo(), HTMLPrivateWindow_SuperNavigate(), InitVariantFromBuffer(), InvokeObjectPickerDialog(), ITypeInfo_fnInvoke(), make_safearray(), navigate_url(), request_send(), test_InitPropVariantFromBuffer(), test_load(), test_parse_filter_data(), test_PropVariantToBuffer(), test_put_nodeTypedValue(), test_safearray(), test_saxreader(), test_SystemSecurity(), test_Win32_SystemEnclosure(), test_XMLHTTP(), to_byte_array(), VBArray_toArray(), Widget_VarArg(), Widget_VarArg_Ref_Run(), Widget_VarArg_Run(), winhttp_request_get_ResponseBody(), write_filter_data(), WshShell3_RegRead(), and xslprocessor_transform().
Definition at line 557 of file safearray.c.
Referenced by LPSAFEARRAY_UserUnmarshal(), SAFEARRAY_Create(), test_marshal_LPSAFEARRAY(), test_safearray(), and test_SafeArrayAllocDestroyDescriptor().
Definition at line 476 of file safearray.c.
Referenced by LPSAFEARRAY_UserUnmarshal(), SafeArrayAllocDescriptorEx(), SafeArrayCopy(), test_marshal_LPSAFEARRAY(), test_safearray(), test_SafeArrayAllocDestroyDescriptor(), test_SafeArrayCopy(), and test_SafeArrayDestroyData().
Definition at line 521 of file safearray.c.
Referenced by SAFEARRAY_Create(), SafeArrayCopy(), and START_TEST().
Definition at line 1379 of file safearray.c.
Referenced by create_vbarray(), IRecordInfoImpl_RecordCopy(), PropVariantCopy(), test_safearray(), test_SafeArrayCopy(), test_SafeArrayCopyData(), VARIANT_CoerceArray(), VariantCopy(), VariantCopyInd(), and VBArrayConstr_value().
Definition at line 1312 of file safearray.c.
Referenced by START_TEST(), test_SafeArrayCopyData(), and test_SafeArrayCreateEx().
SAFEARRAY *WINAPI SafeArrayCreate | ( | VARTYPE | vt, |
UINT | cDims, | ||
SAFEARRAYBOUND * | rgsabound | ||
) |
Definition at line 600 of file safearray.c.
Referenced by check_for_VT_INT_PTR(), create_vbdisp(), CreateByteArray(), DEVENUM_IPropertyBag_Read(), dictionary_Items(), dictionary_Keys(), doc_complex_write(), doc_write(), FilterMapper3_RegisterFilter(), Global_Array(), Global_InvokeEx(), handle_navigation_error(), interp_dim(), ITypeInfo_fnInvoke(), test_copy(), test_GetProp(), test_LockUnlock(), test_marshal_LPSAFEARRAY(), test_marshal_VARIANT(), test_parse_filter_data(), test_PropVariantToBuffer(), test_safearray(), test_safearray_layout(), test_SafeArrayChangeTypeEx(), test_SafeArrayClear(), test_SafeArrayCopy(), test_SafeArrayCopyData(), test_SafeArrayCreateLockDestroy(), test_SafeArrayDestroyData(), test_SafeArrayGetPutElement(), test_SafeArrayGetPutElement_BSTR(), test_SafeArrayGetPutElement_IUnknown(), test_SafeArrayGetPutElement_VARIANT(), test_SafeArrayRedim_IUnknown(), test_saxreader(), write_filter_data(), WshShell3_RegRead(), and xslprocessor_transform().
SAFEARRAY *WINAPI SafeArrayCreateEx | ( | VARTYPE | vt, |
UINT | cDims, | ||
SAFEARRAYBOUND * | rgsabound, | ||
LPVOID | pvExtra | ||
) |
Definition at line 628 of file safearray.c.
Referenced by LPSAFEARRAY_UserUnmarshal(), and START_TEST().
Definition at line 677 of file safearray.c.
Referenced by async_doc_navigate(), DocObjectService_FireBeforeNavigate2(), get_properties(), InitVariantFromBuffer(), make_safearray(), navigate_bsc(), CBandProxy::NavigateToPIDL(), START_TEST(), test_load(), test_put_nodeTypedValue(), test_SafeArrayCopy(), test_SafeArrayCopyData(), test_SafeArrayDestroyData(), to_bstr_array(), to_byte_array(), to_i4_array(), to_safearray(), and winhttp_request_get_ResponseBody().
SAFEARRAY *WINAPI SafeArrayCreateVectorEx | ( | VARTYPE | vt, |
LONG | lLbound, | ||
ULONG | cElements, | ||
LPVOID | pvExtra | ||
) |
Definition at line 705 of file safearray.c.
Definition at line 1347 of file safearray.c.
Referenced by check_for_VT_INT_PTR(), clean_props(), CreateByteArray(), dictionary_Items(), dictionary_Keys(), doc_complex_write(), doc_navigate_task_destr(), doc_write(), DocObjectService_FireBeforeNavigate2(), exec_query(), FilterMapper3_RegisterFilter(), find_prop(), get_properties(), Global_Array(), handle_navigation_error(), InitVariantFromBuffer(), IRecordInfoImpl_RecordClear(), ITypeInfo_fnInvoke(), LPSAFEARRAY_UserFree(), LPSAFEARRAY_UserUnmarshal(), navigate_bsc(), PropVariantClear(), release_exec(), test_GetNames(), test_GetProp(), test_LockUnlock(), test_marshal_LPSAFEARRAY(), test_marshal_safearray(), test_marshal_VARIANT(), test_parse_filter_data(), test_safearray(), test_safearray_layout(), test_SafeArrayAllocDestroyDescriptor(), test_SafeArrayChangeTypeEx(), test_SafeArrayClear(), test_SafeArrayCopy(), test_SafeArrayCopyData(), test_SafeArrayCreateEx(), test_SafeArrayCreateLockDestroy(), test_SafeArrayDestroyData(), test_SafeArrayGetPutElement(), test_SafeArrayGetPutElement_BSTR(), test_SafeArrayGetPutElement_IUnknown(), test_SafeArrayGetPutElement_VARIANT(), test_SafeArrayRedim_IUnknown(), test_saxreader(), test_VectorCreateLockDestroy(), to_bstr_array(), to_byte_array(), to_i4_array(), to_safearray(), VARIANT_ClearInd(), VariantClear(), VBArray_destructor(), Widget_safearray(), winhttp_request_get_ResponseBody(), and WshShell3_RegRead().
Definition at line 1256 of file safearray.c.
Referenced by LPSAFEARRAY_UserUnmarshal(), SafeArrayDestroy(), test_marshal_LPSAFEARRAY(), test_put_nodeTypedValue(), test_safearray(), test_SafeArrayCreateLockDestroy(), and test_SafeArrayDestroyData().
Definition at line 755 of file safearray.c.
Referenced by SAFEARRAY_Create(), SafeArrayCopy(), SafeArrayDestroy(), test_marshal_LPSAFEARRAY(), test_safearray(), test_SafeArrayAllocDestroyDescriptor(), test_SafeArrayCreateLockDestroy(), and test_SafeArrayDestroyData().
Definition at line 1094 of file safearray.c.
Referenced by ClOleCommandTarget_Exec(), Host_Echo(), OleCommandTarget_Exec(), response_BinaryWrite(), test_InitPropVariantFromBuffer(), test_Keys(), test_marshal_VARIANT(), test_put_nodeTypedValue(), test_registry(), test_safearray(), test_SafeArrayAllocDestroyDescriptor(), test_SafeArrayCopyData(), test_SafeArrayCreateLockDestroy(), test_VectorCreateLockDestroy(), test_XMLHTTP(), VBArray_dimensions(), VBArray_getItem(), and VBArray_toArray().
Definition at line 947 of file safearray.c.
Referenced by ClOleCommandTarget_Exec(), find_prop(), OleCommandTarget_Exec(), test_Keys(), test_marshal_LPSAFEARRAY(), test_registry(), test_safearray(), test_SafeArrayDestroyData(), test_SafeArrayGetPutElement(), test_SafeArrayGetPutElement_BSTR(), test_SafeArrayGetPutElement_IUnknown(), test_SafeArrayGetPutElement_VARIANT(), to_array(), and VBArray_getItem().
Definition at line 1114 of file safearray.c.
Referenced by navigate_url(), test_safearray(), test_SafeArrayCopyData(), test_SafeArrayCreateLockDestroy(), and test_VectorCreateLockDestroy().
Definition at line 1670 of file safearray.c.
Referenced by LPSAFEARRAY_UserMarshal(), SAFEARRAY_CopyData(), START_TEST(), test_safearray(), test_safearray_layout(), and test_SafeArrayCreateEx().
Definition at line 1066 of file safearray.c.
Referenced by DEVENUM_IPropertyBag_Write(), Host_Echo(), OleCommandTarget_Exec(), response_BinaryWrite(), test_InitPropVariantFromBuffer(), test_marshal_VARIANT(), test_put_nodeTypedValue(), test_registry(), test_safearray(), test_Win32_SystemEnclosure(), test_XMLHTTP(), VBArray_lbound(), VBArray_toArray(), Widget_VarArg(), Widget_VarArg_Ref_Run(), and Widget_VarArg_Run().
HRESULT WINAPI SafeArrayGetRecordInfo | ( | SAFEARRAY * | psa, |
IRecordInfo ** | pRinfo | ||
) |
Definition at line 1609 of file safearray.c.
Referenced by LPSAFEARRAY_UserMarshal(), LPSAFEARRAY_UserSize(), SAFEARRAY_CopyData(), SAFEARRAY_DestroyData(), SafeArrayGetElement(), SafeArrayPutElement(), and START_TEST().
Definition at line 1033 of file safearray.c.
Referenced by check_safearray(), DEVENUM_IPropertyBag_Write(), find_prop(), Global_UBound(), Host_Echo(), ITypeInfo_fnInvoke(), navigate_url(), OleCommandTarget_Exec(), request_send(), response_BinaryWrite(), test_InitPropVariantFromBuffer(), test_Keys(), test_marshal_VARIANT(), test_put_nodeTypedValue(), test_registry(), test_safearray(), test_Win32_SystemEnclosure(), to_array(), VBArray_toArray(), VBArray_ubound(), Widget_VarArg(), Widget_VarArg_Ref_Run(), and Widget_VarArg_Run().
Definition at line 1534 of file safearray.c.
Referenced by LPSAFEARRAY_UserMarshal(), SAFEARRAY_GetUnionType(), SafeArrayCopy(), START_TEST(), test_registry(), and to_array().
Definition at line 795 of file safearray.c.
Referenced by array_access(), create_safearray_iter(), SafeArrayAccessData(), SafeArrayGetElement(), SafeArrayPutElement(), SafeArrayRedim(), test_GetProp(), test_LockUnlock(), test_SafeArrayCreateLockDestroy(), and test_VectorCreateLockDestroy().
Definition at line 1194 of file safearray.c.
Referenced by array_access(), SafeArrayGetElement(), SafeArrayPutElement(), and test_safearray().
Definition at line 864 of file safearray.c.
Referenced by get_properties(), handle_navigation_error(), test_copy(), test_marshal_LPSAFEARRAY(), test_SafeArrayDestroyData(), test_SafeArrayGetPutElement(), test_SafeArrayGetPutElement_BSTR(), test_SafeArrayGetPutElement_IUnknown(), test_SafeArrayGetPutElement_VARIANT(), test_SafeArrayRedim_IUnknown(), to_bstr_array(), to_i4_array(), and to_safearray().
HRESULT WINAPI SafeArrayRedim | ( | SAFEARRAY * | psa, |
SAFEARRAYBOUND * | psabound | ||
) |
Definition at line 1456 of file safearray.c.
Referenced by test_safearray(), and test_SafeArrayRedim_IUnknown().
Definition at line 1641 of file safearray.c.
Referenced by SAFEARRAY_CopyData(), SAFEARRAY_SetFeatures(), SafeArrayCreateEx(), SafeArrayCreateVectorEx(), test_safearray(), test_safearray_layout(), test_SafeArrayCreateEx(), and test_SafeArrayCreateLockDestroy().
HRESULT WINAPI SafeArraySetRecordInfo | ( | SAFEARRAY * | psa, |
IRecordInfo * | pRinfo | ||
) |
Definition at line 1574 of file safearray.c.
Referenced by SAFEARRAY_CopyData(), SafeArrayCreateEx(), SafeArrayCreateVectorEx(), and SafeArrayDestroyDescriptor().
Definition at line 1168 of file safearray.c.
Referenced by check_safearray(), CreateByteArray(), DEVENUM_IPropertyBag_Read(), DEVENUM_IPropertyBag_Write(), dictionary_Items(), dictionary_Keys(), doc_complex_write(), doc_write(), document_write(), exec_print(), fill_filter_container(), FilterMapper3_EnumMatchingFilters(), FilterMapper3_RegisterFilter(), Global_Array(), Global_InvokeEx(), Host_Echo(), HTMLPrivateWindow_SuperNavigate(), InitVariantFromBuffer(), InvokeObjectPickerDialog(), ITypeInfo_fnInvoke(), make_safearray(), navigate_url(), request_send(), test_InitPropVariantFromBuffer(), test_parse_filter_data(), test_PropVariantToBuffer(), test_put_nodeTypedValue(), test_safearray(), test_saxreader(), test_SystemSecurity(), test_Win32_SystemEnclosure(), test_XMLHTTP(), to_byte_array(), VBArray_toArray(), Widget_VarArg(), Widget_VarArg_Ref_Run(), Widget_VarArg_Run(), winhttp_request_get_ResponseBody(), write_filter_data(), WshShell3_RegRead(), and xslprocessor_transform().
Definition at line 831 of file safearray.c.
Referenced by array_access(), safearray_iter_IEnumVARIANT_Release(), SafeArrayGetElement(), SafeArrayPutElement(), SafeArrayRedim(), SafeArrayUnaccessData(), test_GetProp(), test_load(), test_LockUnlock(), test_SafeArrayCreateLockDestroy(), and test_VectorCreateLockDestroy().
Definition at line 1699 of file safearray.c.
Referenced by VARIANT_CoerceArray().
WINE_DEFAULT_DEBUG_CHANNEL | ( | variant | ) |
Definition at line 88 of file safearray.c.
Referenced by SAFEARRAY_CopyData(), test_SafeArrayCopy(), and test_SafeArrayCopyData().