561 references to SAFEARRAY
System.Private.Windows.Core (55)
Windows.Win32.PInvokeCore.OLEAUT32.dll.g.cs (19)
96 internal static unsafe winmdroot.System.Com.SAFEARRAY* SafeArrayCreate(winmdroot.System.Variant.VARENUM vt, uint cDims, in winmdroot.System.Com.SAFEARRAYBOUND rgsabound) 100 winmdroot.System.Com.SAFEARRAY* __result = PInvokeCore.SafeArrayCreate(vt, cDims, rgsaboundLocal); 114 internal static extern unsafe winmdroot.System.Com.SAFEARRAY* SafeArrayCreate(winmdroot.System.Variant.VARENUM vt, uint cDims, winmdroot.System.Com.SAFEARRAYBOUND* rgsabound); 117 internal static unsafe winmdroot.System.Com.SAFEARRAY* SafeArrayCreateEx(winmdroot.System.Variant.VARENUM vt, uint cDims, in winmdroot.System.Com.SAFEARRAYBOUND rgsabound, void* pvExtra) 121 winmdroot.System.Com.SAFEARRAY* __result = PInvokeCore.SafeArrayCreateEx(vt, cDims, rgsaboundLocal, pvExtra); 134 internal static extern unsafe winmdroot.System.Com.SAFEARRAY* SafeArrayCreateEx(winmdroot.System.Variant.VARENUM vt, uint cDims, winmdroot.System.Com.SAFEARRAYBOUND* rgsabound, void* pvExtra); 144 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayDestroy(winmdroot.System.Com.SAFEARRAY* psa); 146 /// <inheritdoc cref="SafeArrayGetElement(winmdroot.System.Com.SAFEARRAY*, int*, void*)"/> 147 internal static unsafe winmdroot.Foundation.HRESULT SafeArrayGetElement(winmdroot.System.Com.SAFEARRAY* psa, in int rgIndices, void* pv) 166 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayGetElement(winmdroot.System.Com.SAFEARRAY* psa, int* rgIndices, void* pv); 179 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayGetRecordInfo(winmdroot.System.Com.SAFEARRAY* psa, winmdroot.System.Ole.IRecordInfo** prinfo); 181 /// <inheritdoc cref="SafeArrayGetVartype(winmdroot.System.Com.SAFEARRAY*, winmdroot.System.Variant.VARENUM*)"/> 182 internal static unsafe winmdroot.Foundation.HRESULT SafeArrayGetVartype(winmdroot.System.Com.SAFEARRAY* psa, out winmdroot.System.Variant.VARENUM pvt) 203 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayGetVartype(winmdroot.System.Com.SAFEARRAY* psa, winmdroot.System.Variant.VARENUM* pvt); 216 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayLock(winmdroot.System.Com.SAFEARRAY* psa); 218 /// <inheritdoc cref="SafeArrayPutElement(winmdroot.System.Com.SAFEARRAY*, int*, void*)"/> 219 internal static unsafe winmdroot.Foundation.HRESULT SafeArrayPutElement(winmdroot.System.Com.SAFEARRAY* psa, in int rgIndices, void* pv) 241 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayPutElement(winmdroot.System.Com.SAFEARRAY* psa, int* rgIndices, void* pv); 251 internal static extern unsafe winmdroot.Foundation.HRESULT SafeArrayUnlock(winmdroot.System.Com.SAFEARRAY* psa);
Windows.Win32.PROPVARIANT.g.cs (2)
152 internal unsafe winmdroot.System.Com.SAFEARRAY* parray; 275 internal unsafe winmdroot.System.Com.SAFEARRAY** pparray;
Windows.Win32.SAFEARRAY.g.cs (1)
56 int v = sizeof(SAFEARRAY);
Windows.Win32.VARIANT.g.cs (2)
101 internal unsafe winmdroot.System.Com.SAFEARRAY* parray; 146 internal unsafe winmdroot.System.Com.SAFEARRAY** pparray;
Windows\Win32\System\Com\SAFEARRAY.cs (2)
27public static SAFEARRAY* CreateEmpty(VARENUM arrayType) 63fixed (SAFEARRAY* pThis = &this)
Windows\Win32\System\Com\SafeArrayScope.cs (20)
10/// Helper to scope lifetime of a <see cref="SAFEARRAY"/> created via 12/// Destroys the <see cref="SAFEARRAY"/> (if any) when disposed. Note that this scope currently only works for a 13/// one dimensional <see cref="SAFEARRAY"/>. 17/// Use in a <see langword="using" /> statement to ensure the <see cref="SAFEARRAY"/> gets disposed. 20/// If the <see cref="SAFEARRAY"/> you are intending to scope the lifetime of has type <see cref="VARENUM.VT_UNKNOWN"/>, 28public SAFEARRAY* Value => (SAFEARRAY*)_value; 30public SafeArrayScope(SAFEARRAY* value) 144/// A copy will be made of anything that is put into the <see cref="SAFEARRAY"/> 145/// and anything the <see cref="SAFEARRAY"/> gives out is a copy and has been add ref appropriately if applicable. 146/// Be sure to dispose of items that are given to the <see cref="SAFEARRAY"/> if necessary. All 147/// items given out by the <see cref="SAFEARRAY"/> should be disposed. 225PInvokeCore.SafeArrayPutElement((SAFEARRAY*)_value, pIndices, value).ThrowOnFailure(); 237SAFEARRAY* safeArray = (SAFEARRAY*)_value; 250public static explicit operator VARIANT(in SafeArrayScope<T> scope) => new() { vt = VARENUM.VT_ARRAY | scope.Value->VarType, data = new() { parray = (SAFEARRAY*)scope._value } }; 252public static implicit operator SAFEARRAY*(in SafeArrayScope<T> scope) => (SAFEARRAY*)scope._value; 257public static implicit operator SAFEARRAY**(in SafeArrayScope<T> scope) => (SAFEARRAY**)Unsafe.AsPointer(ref Unsafe.AsRef(in scope._value));
Windows\Win32\System\Variant\VARIANT.cs (9)
106return ToArray(*(SAFEARRAY**)data, vt); 247private static Array? ToArray(SAFEARRAY* psa, VARENUM vt) 439private static void TransposeArray(SAFEARRAY* psa, Array array, VARENUM arrayType) 451static void StackTransposeArray(SAFEARRAY* psa, Array array, VARENUM arrayType) 459static void HeapTransposeArray(SAFEARRAY* psa, Array array, VARENUM arrayType) 467static void InternalTransposeArray(SAFEARRAY* psa, Array array, VARENUM arrayType, Span<int> indices, Span<int> lower, Span<int> upper) 504private static void SetArrayValue(SAFEARRAY* psa, Array array, Span<int> indices, Span<int> lowerBounds, VARENUM arrayType) 621private static Array CreateArrayFromSafeArray(SAFEARRAY* psa, VARENUM vt) 738return (uint)sizeof(SAFEARRAY*);
System.Windows.Forms (33)
System\Windows\Forms\Accessibility\AccessibleObject.cs (18)
790internal virtual HRESULT GetTextSelection(SAFEARRAY** pRetVal) => HRESULT.E_NOTIMPL; 792internal virtual HRESULT GetTextVisibleRanges(SAFEARRAY** pRetVal) => HRESULT.E_NOTIMPL; 936HRESULT IAccessibleEx.Interface.GetRuntimeId(SAFEARRAY** pRetVal) 1039HRESULT IRawElementProviderFragment.Interface.GetRuntimeId(SAFEARRAY** pRetVal) 1068HRESULT IRawElementProviderFragment.Interface.GetEmbeddedFragmentRoots(SAFEARRAY** pRetVal) 1271HRESULT ILegacyIAccessibleProvider.Interface.GetSelection(SAFEARRAY** pvarSelectedChildren) 1280*pvarSelectedChildren = SAFEARRAY.CreateEmpty(VARENUM.VT_UNKNOWN); 1336HRESULT ITextProvider.Interface.GetSelection(SAFEARRAY** pRetVal) => GetTextSelection(pRetVal); 1338HRESULT ITextProvider.Interface.GetVisibleRanges(SAFEARRAY** pRetVal) => GetTextVisibleRanges(pRetVal); 1350HRESULT ITextProvider2.Interface.GetSelection(SAFEARRAY** pRetVal) => GetTextSelection(pRetVal); 1352HRESULT ITextProvider2.Interface.GetVisibleRanges(SAFEARRAY** pRetVal) => GetTextVisibleRanges(pRetVal); 1412HRESULT ITableProvider.Interface.GetRowHeaders(SAFEARRAY** pRetVal) 1427HRESULT ITableProvider.Interface.GetColumnHeaders(SAFEARRAY** pRetVal) 1453HRESULT ITableItemProvider.Interface.GetRowHeaderItems(SAFEARRAY** pRetVal) 1468HRESULT ITableItemProvider.Interface.GetColumnHeaderItems(SAFEARRAY** pRetVal) 3020HRESULT IMultipleViewProvider.Interface.GetSupportedViews(SAFEARRAY** pRetVal) 3029*pRetVal = result is null ? SAFEARRAY.CreateEmpty(VARENUM.VT_I4) : new SafeArrayScope<int>(result); 3123HRESULT ISelectionProvider.Interface.GetSelection(SAFEARRAY** pRetVal)
System\Windows\Forms\Accessibility\LabelEditAccessibleObject.cs (2)
85internal override HRESULT GetTextSelection(SAFEARRAY** pRetVal) 88internal override HRESULT GetTextVisibleRanges(SAFEARRAY** pRetVal)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (2)
149public override HRESULT GetSelection(SAFEARRAY** pRetVal) 204public override HRESULT GetVisibleRanges(SAFEARRAY** pRetVal)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (2)
109internal override unsafe HRESULT GetTextSelection(SAFEARRAY** pRetVal) => _textProvider.GetSelection(pRetVal); 111internal override unsafe HRESULT GetTextVisibleRanges(SAFEARRAY** pRetVal) => _textProvider.GetVisibleRanges(pRetVal);
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (3)
204public override HRESULT GetSelection(SAFEARRAY** pRetVal) 265public override HRESULT GetVisibleRanges(SAFEARRAY** pRetVal) 274*pRetVal = SAFEARRAY.CreateEmpty(VARENUM.VT_UNKNOWN);
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (2)
100internal override HRESULT GetTextSelection(SAFEARRAY** pRetVal) 103internal override HRESULT GetTextVisibleRanges(SAFEARRAY** pRetVal)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (4)
25public override HRESULT GetSelection(SAFEARRAY** pRetVal) 34*pRetVal = SAFEARRAY.CreateEmpty(VARENUM.VT_UNKNOWN); 56public override HRESULT GetVisibleRanges(SAFEARRAY** pRetVal) 65*pRetVal = SAFEARRAY.CreateEmpty(VARENUM.VT_UNKNOWN);
System.Windows.Forms.Primitives (340)
Interop\UiaCore\Interop.StubFragmentRoot.cs (2)
55HRESULT IRawElementProviderFragment.Interface.GetRuntimeId(SAFEARRAY** pRetVal) 77HRESULT IRawElementProviderFragment.Interface.GetEmbeddedFragmentRoots(SAFEARRAY** pRetVal)
System\Windows\Forms\Automation\UiaTextProvider.cs (3)
19public abstract HRESULT GetSelection(SAFEARRAY** pRetVal); 21public abstract HRESULT GetVisibleRanges(SAFEARRAY** pRetVal); 85return new(SAFEARRAY.CreateEmpty(VARENUM.VT_R8));
System\Windows\Forms\Automation\UiaTextRange.cs (5)
327HRESULT ITextRangeProvider.Interface.GetBoundingRectangles(SAFEARRAY** pRetVal) 341*pRetVal = SAFEARRAY.CreateEmpty(VARENUM.VT_R8); 374*pRetVal = SAFEARRAY.CreateEmpty(VARENUM.VT_R8); 630HRESULT ITextRangeProvider.Interface.GetChildren(SAFEARRAY** pRetVal) 637*pRetVal = SAFEARRAY.CreateEmpty(VARENUM.VT_UNKNOWN);
Windows.Win32.IAccessibleEx.g.cs (7)
146 private static winmdroot.Foundation.HRESULT GetRuntimeId(IAccessibleEx* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 171 public unsafe winmdroot.System.Com.SAFEARRAY* GetRuntimeId() 173 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 174 ((delegate *unmanaged [Stdcall]<IAccessibleEx*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IAccessibleEx*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 247 internal delegate *unmanaged [Stdcall]<IAccessibleEx*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetRuntimeId_6; 285 unsafe winmdroot.Foundation.HRESULT GetRuntimeId(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.IHTMLDocument2.g.cs (10)
1584 private static winmdroot.Foundation.HRESULT write(IHTMLDocument2* pThis, winmdroot.System.Com.SAFEARRAY* psarray) 1601 public unsafe winmdroot.Foundation.HRESULT write(winmdroot.System.Com.SAFEARRAY* psarray) 1603 return ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[59])((IHTMLDocument2*)Unsafe.AsPointer(ref this), psarray); 1609 private static winmdroot.Foundation.HRESULT writeln(IHTMLDocument2* pThis, winmdroot.System.Com.SAFEARRAY* psarray) 1626 public unsafe void writeln(winmdroot.System.Com.SAFEARRAY* psarray) 1628 ((delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[60])((IHTMLDocument2*)Unsafe.AsPointer(ref this), psarray).ThrowOnFailure(); 3293 internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> write_60; 3295 internal delegate *unmanaged [Stdcall]<IHTMLDocument2*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> writeln_61; 3729 unsafe winmdroot.Foundation.HRESULT write(winmdroot.System.Com.SAFEARRAY* psarray); 3732 unsafe winmdroot.Foundation.HRESULT writeln(winmdroot.System.Com.SAFEARRAY* psarray);
Windows.Win32.ILegacyIAccessibleProvider.g.cs (7)
467 private static winmdroot.Foundation.HRESULT GetSelection(ILegacyIAccessibleProvider* pThis, winmdroot.System.Com.SAFEARRAY** pvarSelectedChildren) 491 public unsafe winmdroot.System.Com.SAFEARRAY* GetSelection() 493 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 494 ((delegate *unmanaged [Stdcall]<ILegacyIAccessibleProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((ILegacyIAccessibleProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 578 internal delegate *unmanaged [Stdcall]<ILegacyIAccessibleProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetSelection_16; 656 unsafe winmdroot.Foundation.HRESULT GetSelection(winmdroot.System.Com.SAFEARRAY** pvarSelectedChildren);
Windows.Win32.IMultipleViewProvider.g.cs (7)
174 private static winmdroot.Foundation.HRESULT GetSupportedViews(IMultipleViewProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 201 public unsafe winmdroot.System.Com.SAFEARRAY* GetSupportedViews() 203 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 204 ((delegate *unmanaged [Stdcall]<IMultipleViewProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IMultipleViewProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 241 internal delegate *unmanaged [Stdcall]<IMultipleViewProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetSupportedViews_7; 280 unsafe winmdroot.Foundation.HRESULT GetSupportedViews(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.IRawElementProviderFragment.g.cs (16)
92 /// <inheritdoc cref="GetRuntimeId(winmdroot.System.Com.SAFEARRAY**)"/> 93 internal unsafe winmdroot.Foundation.HRESULT GetRuntimeId(out winmdroot.System.Com.SAFEARRAY* pRetVal) 95 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 105 private static winmdroot.Foundation.HRESULT GetRuntimeId(IRawElementProviderFragment* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 134 public unsafe winmdroot.Foundation.HRESULT GetRuntimeId(winmdroot.System.Com.SAFEARRAY** pRetVal) 136 return ((delegate *unmanaged [Stdcall]<IRawElementProviderFragment*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IRawElementProviderFragment*)Unsafe.AsPointer(ref this), pRetVal); 179 /// <inheritdoc cref="GetEmbeddedFragmentRoots(winmdroot.System.Com.SAFEARRAY**)"/> 180 internal unsafe winmdroot.Foundation.HRESULT GetEmbeddedFragmentRoots(out winmdroot.System.Com.SAFEARRAY* pRetVal) 182 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 192 private static winmdroot.Foundation.HRESULT GetEmbeddedFragmentRoots(IRawElementProviderFragment* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 221 public unsafe winmdroot.Foundation.HRESULT GetEmbeddedFragmentRoots(winmdroot.System.Com.SAFEARRAY** pRetVal) 223 return ((delegate *unmanaged [Stdcall]<IRawElementProviderFragment*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IRawElementProviderFragment*)Unsafe.AsPointer(ref this), pRetVal); 318 internal delegate *unmanaged [Stdcall]<IRawElementProviderFragment*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetRuntimeId_5; 322 internal delegate *unmanaged [Stdcall]<IRawElementProviderFragment*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetEmbeddedFragmentRoots_7; 361 unsafe winmdroot.Foundation.HRESULT GetRuntimeId(winmdroot.System.Com.SAFEARRAY** pRetVal); 367 unsafe winmdroot.Foundation.HRESULT GetEmbeddedFragmentRoots(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.ISelectionProvider.g.cs (7)
58 private static winmdroot.Foundation.HRESULT GetSelection(ISelectionProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 82 public unsafe winmdroot.System.Com.SAFEARRAY* GetSelection() 84 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 85 ((delegate *unmanaged [Stdcall]<ISelectionProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ISelectionProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 196 internal delegate *unmanaged [Stdcall]<ISelectionProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetSelection_4; 229 unsafe winmdroot.Foundation.HRESULT GetSelection(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.ITableItemProvider.g.cs (14)
58 private static winmdroot.Foundation.HRESULT GetRowHeaderItems(ITableItemProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 82 public unsafe winmdroot.System.Com.SAFEARRAY* GetRowHeaderItems() 84 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 85 ((delegate *unmanaged [Stdcall]<ITableItemProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ITableItemProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 92 private static winmdroot.Foundation.HRESULT GetColumnHeaderItems(ITableItemProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 116 public unsafe winmdroot.System.Com.SAFEARRAY* GetColumnHeaderItems() 118 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 119 ((delegate *unmanaged [Stdcall]<ITableItemProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ITableItemProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 150 internal delegate *unmanaged [Stdcall]<ITableItemProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetRowHeaderItems_4; 152 internal delegate *unmanaged [Stdcall]<ITableItemProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetColumnHeaderItems_5; 180 unsafe winmdroot.Foundation.HRESULT GetRowHeaderItems(winmdroot.System.Com.SAFEARRAY** pRetVal); 183 unsafe winmdroot.Foundation.HRESULT GetColumnHeaderItems(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.ITableProvider.g.cs (14)
58 private static winmdroot.Foundation.HRESULT GetRowHeaders(ITableProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 82 public unsafe winmdroot.System.Com.SAFEARRAY* GetRowHeaders() 84 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 85 ((delegate *unmanaged [Stdcall]<ITableProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ITableProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 92 private static winmdroot.Foundation.HRESULT GetColumnHeaders(ITableProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 116 public unsafe winmdroot.System.Com.SAFEARRAY* GetColumnHeaders() 118 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 119 ((delegate *unmanaged [Stdcall]<ITableProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ITableProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 189 internal delegate *unmanaged [Stdcall]<ITableProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetRowHeaders_4; 191 internal delegate *unmanaged [Stdcall]<ITableProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetColumnHeaders_5; 222 unsafe winmdroot.Foundation.HRESULT GetRowHeaders(winmdroot.System.Com.SAFEARRAY** pRetVal); 225 unsafe winmdroot.Foundation.HRESULT GetColumnHeaders(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.ITextProvider.g.cs (14)
58 private static winmdroot.Foundation.HRESULT GetSelection(ITextProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 84 public unsafe winmdroot.System.Com.SAFEARRAY* GetSelection() 86 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 87 ((delegate *unmanaged [Stdcall]<ITextProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ITextProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 94 private static winmdroot.Foundation.HRESULT GetVisibleRanges(ITextProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 120 public unsafe winmdroot.System.Com.SAFEARRAY* GetVisibleRanges() 122 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 123 ((delegate *unmanaged [Stdcall]<ITextProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ITextProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 299 internal delegate *unmanaged [Stdcall]<ITextProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetSelection_4; 301 internal delegate *unmanaged [Stdcall]<ITextProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetVisibleRanges_5; 341 unsafe winmdroot.Foundation.HRESULT GetSelection(winmdroot.System.Com.SAFEARRAY** pRetVal); 344 unsafe winmdroot.Foundation.HRESULT GetVisibleRanges(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.ITextProvider2.g.cs (14)
58 private static winmdroot.Foundation.HRESULT GetSelection(ITextProvider2* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 75 public unsafe winmdroot.System.Com.SAFEARRAY* GetSelection() 77 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 78 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ITextProvider2*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 85 private static winmdroot.Foundation.HRESULT GetVisibleRanges(ITextProvider2* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 102 public unsafe winmdroot.System.Com.SAFEARRAY* GetVisibleRanges() 104 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 105 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ITextProvider2*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 339 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetSelection_4; 341 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetVisibleRanges_5; 387 unsafe new winmdroot.Foundation.HRESULT GetSelection(winmdroot.System.Com.SAFEARRAY** pRetVal); 390 unsafe new winmdroot.Foundation.HRESULT GetVisibleRanges(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.ITextRangeProvider.g.cs (14)
330 private static winmdroot.Foundation.HRESULT GetBoundingRectangles(ITextRangeProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 354 public unsafe winmdroot.System.Com.SAFEARRAY* GetBoundingRectangles() 356 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 357 ((delegate *unmanaged [Stdcall]<ITextRangeProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((ITextRangeProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 686 private static winmdroot.Foundation.HRESULT GetChildren(ITextRangeProvider* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 708 public unsafe winmdroot.System.Com.SAFEARRAY* GetChildren() 710 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 711 ((delegate *unmanaged [Stdcall]<ITextRangeProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((ITextRangeProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 756 internal delegate *unmanaged [Stdcall]<ITextRangeProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetBoundingRectangles_11; 776 internal delegate *unmanaged [Stdcall]<ITextRangeProvider*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetChildren_21; 841 unsafe winmdroot.Foundation.HRESULT GetBoundingRectangles(winmdroot.System.Com.SAFEARRAY** pRetVal); 871 unsafe winmdroot.Foundation.HRESULT GetChildren(winmdroot.System.Com.SAFEARRAY** pRetVal);
Windows.Win32.IUIAutomation.g.cs (76)
100 private static winmdroot.Foundation.HRESULT CompareRuntimeIds(IUIAutomation* pThis, winmdroot.System.Com.SAFEARRAY* runtimeId1, winmdroot.System.Com.SAFEARRAY* runtimeId2, winmdroot.Foundation.BOOL* areSame) 132 public unsafe winmdroot.Foundation.BOOL CompareRuntimeIds(winmdroot.System.Com.SAFEARRAY* runtimeId1, winmdroot.System.Com.SAFEARRAY* runtimeId2) 135 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IUIAutomation*)Unsafe.AsPointer(ref this), runtimeId1, runtimeId2, &__retVal).ThrowOnFailure(); 918 private static winmdroot.Foundation.HRESULT CreateAndConditionFromArray(IUIAutomation* pThis, winmdroot.System.Com.SAFEARRAY* conditions, winmdroot.UI.Accessibility.IUIAutomationCondition** newCondition) 944 public unsafe winmdroot.UI.Accessibility.IUIAutomationCondition* CreateAndConditionFromArray(winmdroot.System.Com.SAFEARRAY* conditions) 947 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.UI.Accessibility.IUIAutomationCondition** ,winmdroot.Foundation.HRESULT>)lpVtbl[26])((IUIAutomation*)Unsafe.AsPointer(ref this), conditions, &__retVal).ThrowOnFailure(); 1034 private static winmdroot.Foundation.HRESULT CreateOrConditionFromArray(IUIAutomation* pThis, winmdroot.System.Com.SAFEARRAY* conditions, winmdroot.UI.Accessibility.IUIAutomationCondition** newCondition) 1060 public unsafe winmdroot.UI.Accessibility.IUIAutomationCondition* CreateOrConditionFromArray(winmdroot.System.Com.SAFEARRAY* conditions) 1063 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.UI.Accessibility.IUIAutomationCondition** ,winmdroot.Foundation.HRESULT>)lpVtbl[29])((IUIAutomation*)Unsafe.AsPointer(ref this), conditions, &__retVal).ThrowOnFailure(); 1300 private static winmdroot.Foundation.HRESULT AddPropertyChangedEventHandler(IUIAutomation* pThis, winmdroot.UI.Accessibility.IUIAutomationElement* element, winmdroot.UI.Accessibility.TreeScope scope, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler* handler, winmdroot.System.Com.SAFEARRAY* propertyArray) 1342 public unsafe void AddPropertyChangedEventHandler(winmdroot.UI.Accessibility.IUIAutomationElement* element, winmdroot.UI.Accessibility.TreeScope scope, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler* handler, winmdroot.System.Com.SAFEARRAY* propertyArray) 1344 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.UI.Accessibility.TreeScope ,winmdroot.UI.Accessibility.IUIAutomationCacheRequest* ,winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler* ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[35])((IUIAutomation*)Unsafe.AsPointer(ref this), element, scope, cacheRequest, handler, propertyArray).ThrowOnFailure(); 1583 internal unsafe winmdroot.System.Com.SAFEARRAY* IntNativeArrayToSafeArray(ReadOnlySpan<int> array) 1587 winmdroot.System.Com.SAFEARRAY* __result = this.IntNativeArrayToSafeArray(arrayLocal, array.Length); 1595 private static winmdroot.Foundation.HRESULT IntNativeArrayToSafeArray(IUIAutomation* pThis, int* array, int arrayCount, winmdroot.System.Com.SAFEARRAY** safeArray) 1627 public unsafe winmdroot.System.Com.SAFEARRAY* IntNativeArrayToSafeArray(int* array, int arrayCount) 1629 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 1630 ((delegate *unmanaged [Stdcall]<IUIAutomation*,int* ,int ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[42])((IUIAutomation*)Unsafe.AsPointer(ref this), array, arrayCount, &__retVal).ThrowOnFailure(); 1637 private static winmdroot.Foundation.HRESULT IntSafeArrayToNativeArray(IUIAutomation* pThis, winmdroot.System.Com.SAFEARRAY* intArray, int** array, int* arrayCount) 1669 public unsafe int IntSafeArrayToNativeArray(winmdroot.System.Com.SAFEARRAY* intArray, int** array) 1672 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,int** ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[43])((IUIAutomation*)Unsafe.AsPointer(ref this), intArray, array, &__retVal).ThrowOnFailure(); 1753 private static winmdroot.Foundation.HRESULT SafeArrayToRectNativeArray(IUIAutomation* pThis, winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.RECT** rectArray, int* rectArrayCount) 1785 public unsafe int SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.RECT** rectArray) 1788 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.RECT** ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[46])((IUIAutomation*)Unsafe.AsPointer(ref this), rects, rectArray, &__retVal).ThrowOnFailure(); 1941 /// <inheritdoc cref="PollForPotentialSupportedPatterns(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.System.Com.SAFEARRAY**, winmdroot.System.Com.SAFEARRAY**)"/> 1942 internal unsafe void PollForPotentialSupportedPatterns(winmdroot.UI.Accessibility.IUIAutomationElement* pElement, out winmdroot.System.Com.SAFEARRAY* patternIds, out winmdroot.System.Com.SAFEARRAY* patternNames) 1944 fixed (winmdroot.System.Com.SAFEARRAY** patternNamesLocal = &patternNames) 1946 fixed (winmdroot.System.Com.SAFEARRAY** patternIdsLocal = &patternIds) 1956 private static winmdroot.Foundation.HRESULT PollForPotentialSupportedPatterns(IUIAutomation* pThis, winmdroot.UI.Accessibility.IUIAutomationElement* pElement, winmdroot.System.Com.SAFEARRAY** patternIds, winmdroot.System.Com.SAFEARRAY** patternNames) 1993 public unsafe void PollForPotentialSupportedPatterns(winmdroot.UI.Accessibility.IUIAutomationElement* pElement, winmdroot.System.Com.SAFEARRAY** patternIds, winmdroot.System.Com.SAFEARRAY** patternNames) 1995 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[51])((IUIAutomation*)Unsafe.AsPointer(ref this), pElement, patternIds, patternNames).ThrowOnFailure(); 1998 /// <inheritdoc cref="PollForPotentialSupportedProperties(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.System.Com.SAFEARRAY**, winmdroot.System.Com.SAFEARRAY**)"/> 1999 internal unsafe void PollForPotentialSupportedProperties(winmdroot.UI.Accessibility.IUIAutomationElement* pElement, out winmdroot.System.Com.SAFEARRAY* propertyIds, out winmdroot.System.Com.SAFEARRAY* propertyNames) 2001 fixed (winmdroot.System.Com.SAFEARRAY** propertyNamesLocal = &propertyNames) 2003 fixed (winmdroot.System.Com.SAFEARRAY** propertyIdsLocal = &propertyIds) 2013 private static winmdroot.Foundation.HRESULT PollForPotentialSupportedProperties(IUIAutomation* pThis, winmdroot.UI.Accessibility.IUIAutomationElement* pElement, winmdroot.System.Com.SAFEARRAY** propertyIds, winmdroot.System.Com.SAFEARRAY** propertyNames) 2050 public unsafe void PollForPotentialSupportedProperties(winmdroot.UI.Accessibility.IUIAutomationElement* pElement, winmdroot.System.Com.SAFEARRAY** propertyIds, winmdroot.System.Com.SAFEARRAY** propertyNames) 2052 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[52])((IUIAutomation*)Unsafe.AsPointer(ref this), pElement, propertyIds, propertyNames).ThrowOnFailure(); 2276 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.BOOL* ,winmdroot.Foundation.HRESULT> CompareRuntimeIds_5; 2320 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.UI.Accessibility.IUIAutomationCondition** ,winmdroot.Foundation.HRESULT> CreateAndConditionFromArray_27; 2326 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.UI.Accessibility.IUIAutomationCondition** ,winmdroot.Foundation.HRESULT> CreateOrConditionFromArray_30; 2338 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.UI.Accessibility.TreeScope ,winmdroot.UI.Accessibility.IUIAutomationCacheRequest* ,winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler* ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> AddPropertyChangedEventHandler_36; 2352 internal delegate *unmanaged [Stdcall]<IUIAutomation*,int* ,int ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> IntNativeArrayToSafeArray_43; 2354 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,int** ,int* ,winmdroot.Foundation.HRESULT> IntSafeArrayToNativeArray_44; 2360 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.RECT** ,int* ,winmdroot.Foundation.HRESULT> SafeArrayToRectNativeArray_47; 2370 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> PollForPotentialSupportedPatterns_52; 2372 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> PollForPotentialSupportedProperties_53; 2466 unsafe winmdroot.Foundation.HRESULT CompareRuntimeIds(winmdroot.System.Com.SAFEARRAY* runtimeId1, winmdroot.System.Com.SAFEARRAY* runtimeId2, winmdroot.Foundation.BOOL* areSame); 2544 unsafe winmdroot.Foundation.HRESULT CreateAndConditionFromArray(winmdroot.System.Com.SAFEARRAY* conditions, winmdroot.UI.Accessibility.IUIAutomationCondition** newCondition); 2553 unsafe winmdroot.Foundation.HRESULT CreateOrConditionFromArray(winmdroot.System.Com.SAFEARRAY* conditions, winmdroot.UI.Accessibility.IUIAutomationCondition** newCondition); 2571 unsafe winmdroot.Foundation.HRESULT AddPropertyChangedEventHandler(winmdroot.UI.Accessibility.IUIAutomationElement* element, winmdroot.UI.Accessibility.TreeScope scope, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler* handler, winmdroot.System.Com.SAFEARRAY* propertyArray); 2592 unsafe winmdroot.Foundation.HRESULT IntNativeArrayToSafeArray(int* array, int arrayCount, winmdroot.System.Com.SAFEARRAY** safeArray); 2595 unsafe winmdroot.Foundation.HRESULT IntSafeArrayToNativeArray(winmdroot.System.Com.SAFEARRAY* intArray, int** array, int* arrayCount); 2604 unsafe winmdroot.Foundation.HRESULT SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.RECT** rectArray, int* rectArrayCount); 2621 unsafe winmdroot.Foundation.HRESULT PollForPotentialSupportedPatterns(winmdroot.UI.Accessibility.IUIAutomationElement* pElement, winmdroot.System.Com.SAFEARRAY** patternIds, winmdroot.System.Com.SAFEARRAY** patternNames); 2624 unsafe winmdroot.Foundation.HRESULT PollForPotentialSupportedProperties(winmdroot.UI.Accessibility.IUIAutomationElement* pElement, winmdroot.System.Com.SAFEARRAY** propertyIds, winmdroot.System.Com.SAFEARRAY** propertyNames);
Windows.Win32.IUIAutomationElement.g.cs (7)
90 private static winmdroot.Foundation.HRESULT GetRuntimeId(IUIAutomationElement* pThis, winmdroot.System.Com.SAFEARRAY** runtimeId) 115 public unsafe winmdroot.System.Com.SAFEARRAY* GetRuntimeId() 117 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 118 ((delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IUIAutomationElement*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 3005 internal delegate *unmanaged [Stdcall]<IUIAutomationElement*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetRuntimeId_5; 3276 unsafe winmdroot.Foundation.HRESULT GetRuntimeId(winmdroot.System.Com.SAFEARRAY** runtimeId);
Windows.Win32.IUIAutomationProxyFactoryEntry.g.cs (12)
405 private static winmdroot.Foundation.HRESULT SetWinEventsForAutomationEvent(IUIAutomationProxyFactoryEntry* pThis, winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId, winmdroot.System.Com.SAFEARRAY* winEvents) 439 public unsafe void SetWinEventsForAutomationEvent(winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId, winmdroot.System.Com.SAFEARRAY* winEvents) 441 ((delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryEntry*,winmdroot.UI.Accessibility.UIA_EVENT_ID ,winmdroot.UI.Accessibility.UIA_PROPERTY_ID ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IUIAutomationProxyFactoryEntry*)Unsafe.AsPointer(ref this), eventId, propertyId, winEvents).ThrowOnFailure(); 447 private static winmdroot.Foundation.HRESULT GetWinEventsForAutomationEvent(IUIAutomationProxyFactoryEntry* pThis, winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId, winmdroot.System.Com.SAFEARRAY** winEvents) 479 public unsafe winmdroot.System.Com.SAFEARRAY* GetWinEventsForAutomationEvent(winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId) 481 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 482 ((delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryEntry*,winmdroot.UI.Accessibility.UIA_EVENT_ID ,winmdroot.UI.Accessibility.UIA_PROPERTY_ID ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IUIAutomationProxyFactoryEntry*)Unsafe.AsPointer(ref this), eventId, propertyId, &__retVal).ThrowOnFailure(); 535 internal delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryEntry*,winmdroot.UI.Accessibility.UIA_EVENT_ID ,winmdroot.UI.Accessibility.UIA_PROPERTY_ID ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> SetWinEventsForAutomationEvent_15; 537 internal delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryEntry*,winmdroot.UI.Accessibility.UIA_EVENT_ID ,winmdroot.UI.Accessibility.UIA_PROPERTY_ID ,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetWinEventsForAutomationEvent_16; 611 unsafe winmdroot.Foundation.HRESULT SetWinEventsForAutomationEvent(winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId, winmdroot.System.Com.SAFEARRAY* winEvents); 614 unsafe winmdroot.Foundation.HRESULT GetWinEventsForAutomationEvent(winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId, winmdroot.System.Com.SAFEARRAY** winEvents);
Windows.Win32.IUIAutomationProxyFactoryMapping.g.cs (17)
93 private static winmdroot.Foundation.HRESULT GetTable(IUIAutomationProxyFactoryMapping* pThis, winmdroot.System.Com.SAFEARRAY** table) 117 public unsafe winmdroot.System.Com.SAFEARRAY* GetTable() 119 winmdroot.System.Com.SAFEARRAY* __retVal = default(winmdroot.System.Com.SAFEARRAY*); 120 ((delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryMapping*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IUIAutomationProxyFactoryMapping*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 165 private static winmdroot.Foundation.HRESULT SetTable(IUIAutomationProxyFactoryMapping* pThis, winmdroot.System.Com.SAFEARRAY* factoryList) 193 public unsafe void SetTable(winmdroot.System.Com.SAFEARRAY* factoryList) 195 ((delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryMapping*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IUIAutomationProxyFactoryMapping*)Unsafe.AsPointer(ref this), factoryList).ThrowOnFailure(); 201 private static winmdroot.Foundation.HRESULT InsertEntries(IUIAutomationProxyFactoryMapping* pThis, uint before, winmdroot.System.Com.SAFEARRAY* factoryList) 233 public unsafe void InsertEntries(uint before, winmdroot.System.Com.SAFEARRAY* factoryList) 235 ((delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryMapping*,uint ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IUIAutomationProxyFactoryMapping*)Unsafe.AsPointer(ref this), before, factoryList).ThrowOnFailure(); 407 internal delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryMapping*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetTable_5; 411 internal delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryMapping*,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> SetTable_7; 413 internal delegate *unmanaged [Stdcall]<IUIAutomationProxyFactoryMapping*,uint ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> InsertEntries_8; 461 unsafe winmdroot.Foundation.HRESULT GetTable(winmdroot.System.Com.SAFEARRAY** table); 467 unsafe winmdroot.Foundation.HRESULT SetTable(winmdroot.System.Com.SAFEARRAY* factoryList); 470 unsafe winmdroot.Foundation.HRESULT InsertEntries(uint before, winmdroot.System.Com.SAFEARRAY* factoryList);
Windows.Win32.IUIAutomationStructureChangedEventHandler.g.cs (5)
58 private static winmdroot.Foundation.HRESULT HandleStructureChangedEvent(IUIAutomationStructureChangedEventHandler* pThis, winmdroot.UI.Accessibility.IUIAutomationElement* sender, winmdroot.UI.Accessibility.StructureChangeType changeType, winmdroot.System.Com.SAFEARRAY* runtimeId) 92 public unsafe void HandleStructureChangedEvent(winmdroot.UI.Accessibility.IUIAutomationElement* sender, winmdroot.UI.Accessibility.StructureChangeType changeType, winmdroot.System.Com.SAFEARRAY* runtimeId) 94 ((delegate *unmanaged [Stdcall]<IUIAutomationStructureChangedEventHandler*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.UI.Accessibility.StructureChangeType ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IUIAutomationStructureChangedEventHandler*)Unsafe.AsPointer(ref this), sender, changeType, runtimeId).ThrowOnFailure(); 124 internal delegate *unmanaged [Stdcall]<IUIAutomationStructureChangedEventHandler*,winmdroot.UI.Accessibility.IUIAutomationElement* ,winmdroot.UI.Accessibility.StructureChangeType ,winmdroot.System.Com.SAFEARRAY* ,winmdroot.Foundation.HRESULT> HandleStructureChangedEvent_4; 151 unsafe winmdroot.Foundation.HRESULT HandleStructureChangedEvent(winmdroot.UI.Accessibility.IUIAutomationElement* sender, winmdroot.UI.Accessibility.StructureChangeType changeType, winmdroot.System.Com.SAFEARRAY* runtimeId);
Windows.Win32.UI_Accessibility_IAccessibleEx_Extensions.g.cs (3)
33 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessibleEx.Interface.GetRuntimeId(winmdroot.System.Com.SAFEARRAY**)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetRuntimeId(this winmdroot.UI.Accessibility.IAccessibleEx.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 36 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ILegacyIAccessibleProvider_Extensions.g.cs (3)
63 /// <inheritdoc cref="winmdroot.UI.Accessibility.ILegacyIAccessibleProvider.Interface.GetSelection(winmdroot.System.Com.SAFEARRAY**)"/> 64 internal static unsafe winmdroot.Foundation.HRESULT GetSelection(this winmdroot.UI.Accessibility.ILegacyIAccessibleProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pvarSelectedChildren) 66 fixed (winmdroot.System.Com.SAFEARRAY** pvarSelectedChildrenLocal = &pvarSelectedChildren)
Windows.Win32.UI_Accessibility_IMultipleViewProvider_Extensions.g.cs (3)
33 /// <inheritdoc cref="winmdroot.UI.Accessibility.IMultipleViewProvider.Interface.GetSupportedViews(winmdroot.System.Com.SAFEARRAY**)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetSupportedViews(this winmdroot.UI.Accessibility.IMultipleViewProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 36 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_IRawElementProviderFragment_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.IRawElementProviderFragment.Interface.GetRuntimeId(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetRuntimeId(this winmdroot.UI.Accessibility.IRawElementProviderFragment.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 26 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 43 /// <inheritdoc cref="winmdroot.UI.Accessibility.IRawElementProviderFragment.Interface.GetEmbeddedFragmentRoots(winmdroot.System.Com.SAFEARRAY**)"/> 44 internal static unsafe winmdroot.Foundation.HRESULT GetEmbeddedFragmentRoots(this winmdroot.UI.Accessibility.IRawElementProviderFragment.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 46 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ISelectionProvider_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.ISelectionProvider.Interface.GetSelection(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetSelection(this winmdroot.UI.Accessibility.ISelectionProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 26 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ITableItemProvider_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITableItemProvider.Interface.GetRowHeaderItems(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetRowHeaderItems(this winmdroot.UI.Accessibility.ITableItemProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 26 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 33 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITableItemProvider.Interface.GetColumnHeaderItems(winmdroot.System.Com.SAFEARRAY**)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetColumnHeaderItems(this winmdroot.UI.Accessibility.ITableItemProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 36 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ITableProvider_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITableProvider.Interface.GetRowHeaders(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetRowHeaders(this winmdroot.UI.Accessibility.ITableProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 26 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 33 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITableProvider.Interface.GetColumnHeaders(winmdroot.System.Com.SAFEARRAY**)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetColumnHeaders(this winmdroot.UI.Accessibility.ITableProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 36 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ITextProvider_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextProvider.Interface.GetSelection(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetSelection(this winmdroot.UI.Accessibility.ITextProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 26 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 33 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextProvider.Interface.GetVisibleRanges(winmdroot.System.Com.SAFEARRAY**)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetVisibleRanges(this winmdroot.UI.Accessibility.ITextProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 36 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ITextProvider2_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextProvider2.Interface.GetSelection(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetSelection(this winmdroot.UI.Accessibility.ITextProvider2.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 26 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 33 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextProvider2.Interface.GetVisibleRanges(winmdroot.System.Com.SAFEARRAY**)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT GetVisibleRanges(this winmdroot.UI.Accessibility.ITextProvider2.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 36 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_ITextRangeProvider_Extensions.g.cs (6)
53 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.GetBoundingRectangles(winmdroot.System.Com.SAFEARRAY**)"/> 54 internal static unsafe winmdroot.Foundation.HRESULT GetBoundingRectangles(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 56 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) 83 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.GetChildren(winmdroot.System.Com.SAFEARRAY**)"/> 84 internal static unsafe winmdroot.Foundation.HRESULT GetChildren(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) 86 fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal)
Windows.Win32.UI_Accessibility_IUIAutomation_Extensions.g.cs (23)
33 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.CompareRuntimeIds(winmdroot.System.Com.SAFEARRAY*, winmdroot.System.Com.SAFEARRAY*, winmdroot.Foundation.BOOL*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT CompareRuntimeIds(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Com.SAFEARRAY* runtimeId1, winmdroot.System.Com.SAFEARRAY* runtimeId2, out winmdroot.Foundation.BOOL areSame) 53 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.IntNativeArrayToSafeArray(int*, int, winmdroot.System.Com.SAFEARRAY**)"/> 54 internal static unsafe winmdroot.Foundation.HRESULT IntNativeArrayToSafeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, ReadOnlySpan<int> array, out winmdroot.System.Com.SAFEARRAY* safeArray) 56 fixed (winmdroot.System.Com.SAFEARRAY** safeArrayLocal = &safeArray) 66 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.IntSafeArrayToNativeArray(winmdroot.System.Com.SAFEARRAY*, int**, int*)"/> 67 internal static unsafe winmdroot.Foundation.HRESULT IntSafeArrayToNativeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Com.SAFEARRAY* intArray, int** array, out int arrayCount) 96 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY*, winmdroot.Foundation.RECT**, int*)"/> 97 internal static unsafe winmdroot.Foundation.HRESULT SafeArrayToRectNativeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Com.SAFEARRAY* rects, winmdroot.Foundation.RECT** rectArray, out int rectArrayCount) 106 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.PollForPotentialSupportedPatterns(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.System.Com.SAFEARRAY**, winmdroot.System.Com.SAFEARRAY**)"/> 107 internal static unsafe winmdroot.Foundation.HRESULT PollForPotentialSupportedPatterns(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.UI.Accessibility.IUIAutomationElement* pElement, out winmdroot.System.Com.SAFEARRAY* patternIds, out winmdroot.System.Com.SAFEARRAY* patternNames) 109 fixed (winmdroot.System.Com.SAFEARRAY** patternNamesLocal = &patternNames) 111 fixed (winmdroot.System.Com.SAFEARRAY** patternIdsLocal = &patternIds) 119 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.PollForPotentialSupportedProperties(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.System.Com.SAFEARRAY**, winmdroot.System.Com.SAFEARRAY**)"/> 120 internal static unsafe winmdroot.Foundation.HRESULT PollForPotentialSupportedProperties(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.UI.Accessibility.IUIAutomationElement* pElement, out winmdroot.System.Com.SAFEARRAY* propertyIds, out winmdroot.System.Com.SAFEARRAY* propertyNames) 122 fixed (winmdroot.System.Com.SAFEARRAY** propertyNamesLocal = &propertyNames) 124 fixed (winmdroot.System.Com.SAFEARRAY** propertyIdsLocal = &propertyIds)
Windows.Win32.UI_Accessibility_IUIAutomationElement_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomationElement.Interface.GetRuntimeId(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetRuntimeId(this winmdroot.UI.Accessibility.IUIAutomationElement.Interface @this, out winmdroot.System.Com.SAFEARRAY* runtimeId) 26 fixed (winmdroot.System.Com.SAFEARRAY** runtimeIdLocal = &runtimeId)
Windows.Win32.UI_Accessibility_IUIAutomationProxyFactoryEntry_Extensions.g.cs (3)
73 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomationProxyFactoryEntry.Interface.GetWinEventsForAutomationEvent(winmdroot.UI.Accessibility.UIA_EVENT_ID, winmdroot.UI.Accessibility.UIA_PROPERTY_ID, winmdroot.System.Com.SAFEARRAY**)"/> 74 internal static unsafe winmdroot.Foundation.HRESULT GetWinEventsForAutomationEvent(this winmdroot.UI.Accessibility.IUIAutomationProxyFactoryEntry.Interface @this, winmdroot.UI.Accessibility.UIA_EVENT_ID eventId, winmdroot.UI.Accessibility.UIA_PROPERTY_ID propertyId, out winmdroot.System.Com.SAFEARRAY* winEvents) 76 fixed (winmdroot.System.Com.SAFEARRAY** winEventsLocal = &winEvents)
Windows.Win32.UI_Accessibility_IUIAutomationProxyFactoryMapping_Extensions.g.cs (3)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomationProxyFactoryMapping.Interface.GetTable(winmdroot.System.Com.SAFEARRAY**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetTable(this winmdroot.UI.Accessibility.IUIAutomationProxyFactoryMapping.Interface @this, out winmdroot.System.Com.SAFEARRAY* table) 26 fixed (winmdroot.System.Com.SAFEARRAY** tableLocal = &table)
Windows\Win32\System\Com\ComSafeArrayScope.cs (9)
9/// Helper to scope lifetime of a <see cref="SAFEARRAY"/> created via 11/// that holds COM pointers. Destroys the <see cref="SAFEARRAY"/> (if any) when disposed. Note that this scope 12/// currently only works for a one dimensional <see cref="SAFEARRAY"/> of type <see cref="VARENUM.VT_UNKNOWN"/> 16/// Use in a <see langword="using" /> statement to ensure the <see cref="SAFEARRAY"/> gets disposed. 23public ComSafeArrayScope(SAFEARRAY* value) 46/// The <see cref="SAFEARRAY"/> will ref count the COM pointer on get/put. 47/// Be sure to release of COM pointers that are given to/from the <see cref="SAFEARRAY"/>. 70public static implicit operator SAFEARRAY**(in ComSafeArrayScope<T> scope) => scope._value; 72public static implicit operator SAFEARRAY*(in ComSafeArrayScope<T> scope) => scope._value;
System.Windows.Forms.Primitives.Tests (133)
Interop\Oleaut32\SAFEARRAYTests.cs (11)
25Assert.Equal(24, Marshal.SizeOf<SAFEARRAY>()); 26Assert.Equal(24, sizeof(SAFEARRAY)); 37Assert.Equal(32, Marshal.SizeOf<SAFEARRAY>()); 38Assert.Equal(32, sizeof(SAFEARRAY)); 60SAFEARRAY* psa = PInvokeCore.SafeArrayCreate((VARENUM)vt, 1, &saBound); 96SAFEARRAY* psa = PInvokeCore.SafeArrayCreateEx(VT_RECORD, 1, &saBound, recordInfo); 185SAFEARRAY* psa = PInvokeCore.SafeArrayCreate((VARENUM)vt, 2, saBounds); 221SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(VT_I4, 1, &saBound); 268SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(VT_I4, 1, &saBound); 322SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(VT_I4, 2, saBounds); 376SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(VT_I4, 2, saBounds);
Interop\Oleaut32\VARIANTTests.cs (110)
1997SAFEARRAY* psa = CreateSafeArray(VT_UI1, result); 2019SAFEARRAY* psa = CreateSafeArray(VT_UI1, result, 1); 2137SAFEARRAY* psa = CreateSafeArray(VT_I1, result); 2164SAFEARRAY* psa = CreateSafeArray(VT_I1, result, 1, 2); 2190SAFEARRAY* psa = CreateSafeArray(VT_I2, result); 2215SAFEARRAY* psa = CreateSafeArray(VT_I2, result, 1); 2252SAFEARRAY* psa = CreateSafeArray(VT_I2, result); 2279SAFEARRAY* psa = CreateSafeArray(VT_I2, result, 1, 2); 2305SAFEARRAY* psa = CreateSafeArray(VT_UI2, result); 2330SAFEARRAY* psa = CreateSafeArray(VT_UI2, result, 1); 2367SAFEARRAY* psa = CreateSafeArray(VT_UI2, result); 2394SAFEARRAY* psa = CreateSafeArray(VT_UI2, result, 1, 2); 2420SAFEARRAY* psa = CreateSafeArray(VT_I4, result); 2445SAFEARRAY* psa = CreateSafeArray(VT_I4, result, 1); 2482SAFEARRAY* psa = CreateSafeArray(VT_I4, result); 2509SAFEARRAY* psa = CreateSafeArray(VT_I4, result, 1, 2); 2535SAFEARRAY* psa = CreateSafeArray(VT_INT, result); 2560SAFEARRAY* psa = CreateSafeArray(VT_INT, result, 1); 2584SAFEARRAY* psa = CreateSafeArray(VT_INT, result); 2611SAFEARRAY* psa = CreateSafeArray(VT_INT, result, 1, 2); 2637SAFEARRAY* psa = CreateSafeArray(VT_UI4, result); 2662SAFEARRAY* psa = CreateSafeArray(VT_UI4, result, 1); 2699SAFEARRAY* psa = CreateSafeArray(VT_UI4, result); 2726SAFEARRAY* psa = CreateSafeArray(VT_UI4, result, 1, 2); 2752SAFEARRAY* psa = CreateSafeArray(VT_UINT, result); 2777SAFEARRAY* psa = CreateSafeArray(VT_UINT, result, 1); 2801SAFEARRAY* psa = CreateSafeArray(VT_UINT, result); 2828SAFEARRAY* psa = CreateSafeArray(VT_UINT, result, 1, 2); 2854SAFEARRAY* psa = CreateSafeArray(VT_INT, result); 2879SAFEARRAY* psa = CreateSafeArray(VT_INT, result, 1); 2916SAFEARRAY* psa = CreateSafeArray(VT_INT, result); 2943SAFEARRAY* psa = CreateSafeArray(VT_INT, result, 1, 2); 2969SAFEARRAY* psa = CreateSafeArray(VT_I4, result); 2994SAFEARRAY* psa = CreateSafeArray(VT_I4, result, 1); 3018SAFEARRAY* psa = CreateSafeArray(VT_I4, result); 3045SAFEARRAY* psa = CreateSafeArray(VT_I4, result, 1, 2); 3071SAFEARRAY* psa = CreateSafeArray(VT_UINT, result); 3096SAFEARRAY* psa = CreateSafeArray(VT_UINT, result, 1); 3133SAFEARRAY* psa = CreateSafeArray(VT_UINT, result); 3160SAFEARRAY* psa = CreateSafeArray(VT_UINT, result, 1, 2); 3186SAFEARRAY* psa = CreateSafeArray(VT_UI4, result); 3211SAFEARRAY* psa = CreateSafeArray(VT_UI4, result, 1); 3235SAFEARRAY* psa = CreateSafeArray(VT_UI4, result); 3262SAFEARRAY* psa = CreateSafeArray(VT_UI4, result, 1, 2); 3288SAFEARRAY* psa = CreateSafeArray(VT_I8, result); 3313SAFEARRAY* psa = CreateSafeArray(VT_I8, result, 1); 3350SAFEARRAY* psa = CreateSafeArray(VT_I8, result); 3377SAFEARRAY* psa = CreateSafeArray(VT_I8, result, 1, 2); 3403SAFEARRAY* psa = CreateSafeArray(VT_UI8, result); 3427SAFEARRAY* psa = CreateSafeArray(VT_UI8, result, 1); 3464SAFEARRAY* psa = CreateSafeArray(VT_UI8, result); 3491SAFEARRAY* psa = CreateSafeArray(VT_UI8, result, 1, 2); 3517SAFEARRAY* psa = CreateSafeArray(VT_R4, result); 3542SAFEARRAY* psa = CreateSafeArray(VT_R4, result, 1); 3579SAFEARRAY* psa = CreateSafeArray(VT_R4, result); 3606SAFEARRAY* psa = CreateSafeArray(VT_R4, result, 1, 2); 3632SAFEARRAY* psa = CreateSafeArray(VT_R8, result); 3657SAFEARRAY* psa = CreateSafeArray(VT_R8, result, 1); 3694SAFEARRAY* psa = CreateSafeArray(VT_R8, result); 3721SAFEARRAY* psa = CreateSafeArray(VT_R8, result, 1, 2); 3747SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result); 3772SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result, 1); 3809SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result); 3836SAFEARRAY* psa = CreateSafeArray(VT_ERROR, result, 1, 2); 3869SAFEARRAY* psa = CreateSafeArray(VT_BOOL, boolResult); 3895SAFEARRAY* psa = CreateSafeArray(VT_BOOL, boolResult, 1); 3938SAFEARRAY* psa = CreateSafeArray(VT_BOOL, boolResult); 3966SAFEARRAY* psa = CreateSafeArray(VT_BOOL, boolResult, 1, 2); 4002SAFEARRAY* psa = CreateSafeArray(VT_DECIMAL, decimalResult); 4028SAFEARRAY* psa = CreateSafeArray(VT_DECIMAL, decimalResult, 1); 4077SAFEARRAY* psa = CreateSafeArray(VT_DECIMAL, decimalResult); 4105SAFEARRAY* psa = CreateSafeArray(VT_DECIMAL, decimalResult, 1, 2); 4131SAFEARRAY* psa = CreateSafeArray(VT_CY, result); 4156SAFEARRAY* psa = CreateSafeArray(VT_CY, result, 1); 4198SAFEARRAY* psa = CreateSafeArray(VT_CY, result); 4225SAFEARRAY* psa = CreateSafeArray(VT_CY, result, 1, 2); 4251SAFEARRAY* psa = CreateSafeArray(VT_DATE, result); 4276SAFEARRAY* psa = CreateSafeArray(VT_DATE, result, 1); 4325SAFEARRAY* psa = CreateSafeArray(VT_DATE, result); 4352SAFEARRAY* psa = CreateSafeArray(VT_DATE, result, 1, 2); 4381SAFEARRAY* psa = CreateSafeArray(VT_BSTR, result); 4408SAFEARRAY* psa = CreateSafeArray(VT_BSTR, result, 1); 4443SAFEARRAY* psa = CreateSafeArray(VT_BSTR, result); 4480SAFEARRAY* psa = CreateSafeArray(VT_BSTR, result, 1, 2); 4513SAFEARRAY* psa = CreateSafeArray(VT_UNKNOWN, result); 4550SAFEARRAY* psa = CreateSafeArray(VT_UNKNOWN, result, 1); 4597SAFEARRAY* psa = CreateSafeArray(VT_UNKNOWN, result); 4654SAFEARRAY* psa = CreateSafeArray(VT_UNKNOWN, result, 1, 2); 4695SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result); 4732SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result, 1); 4779SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result); 4836SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result, 1, 2); 4878SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result); 4916SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result, 1); 4964SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result); 5022SAFEARRAY* psa = CreateSafeArray(VT_DISPATCH, result, 1, 2); 5084SAFEARRAY* psa = CreateSafeArray(VT_VARIANT, result); 5136SAFEARRAY* psa = CreateSafeArray(VT_VARIANT, result, 1); 5219SAFEARRAY* psa = CreateSafeArray(VT_VARIANT, result); 5312SAFEARRAY* psa = CreateSafeArray(VT_I1, Array.Empty<byte>()); 5351SAFEARRAY* psa = CreateSafeArray((VARENUM)arrayVt, Array.Empty<byte>()); 5369SAFEARRAY* psa = CreateSafeArray((VARENUM)vt, Array.Empty<byte>()); 5399SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(VT_I4, (uint)rank, saBounds); 5412private static unsafe SAFEARRAY* CreateSafeArray<T>(VARENUM vt, T[] result, int lbound = 0) where T : unmanaged 5420SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(vt, 1, &saBound); 5444private unsafe SAFEARRAY* CreateSafeArray<T>(VARENUM vt, T[,] multiDimArray, int lbound1 = 0, int lbound2 = 0) where T : unmanaged 5459SAFEARRAY* psa = PInvokeCore.SafeArrayCreate(vt, 2, saBounds); 5632SAFEARRAY* psa = CreateRecordSafeArray(result, pRecordInfo); 5736private static SAFEARRAY* CreateRecordSafeArray<T>(T[] result, IRecordInfo* recordInfo, int lbound = 0) 5744SAFEARRAY* psa = PInvokeCore.SafeArrayCreateEx(VT_RECORD, 1, &saBound, recordInfo);
System\Windows\Forms\Automation\UiaTextRangeTests.cs (6)
564using SafeArrayScope<double> actual = new((SAFEARRAY*)null); 594using SafeArrayScope<double> actual = new((SAFEARRAY*)null); 623using SafeArrayScope<double> safeArrayScope = new((SAFEARRAY*)null); 664using SafeArrayScope<double> actual = new((SAFEARRAY*)null); 747using SafeArrayScope<double> actual = new((SAFEARRAY*)null); 829using SafeArrayScope<double> actual = new((SAFEARRAY*)null);
Windows\Win32\System\Com\ComSafeArrayScopeTests.cs (2)
14SAFEARRAY* array = SAFEARRAY.CreateEmpty(VARENUM.VT_INT);
Windows\Win32\System\Com\SafeArrayScopeTests.cs (4)
75SAFEARRAY* array = SAFEARRAY.CreateEmpty(Variant.VARENUM.VT_UNKNOWN); 90SAFEARRAY* array = SAFEARRAY.CreateEmpty(Variant.VARENUM.VT_INT);