61 references to ITextProvider2
System.Windows.Forms (10)
System\Windows\Forms\Accessibility\AccessibleObject.cs (10)
51ITextProvider2.Interface, 81ITextProvider2> 1348ITextRangeProvider* ITextProvider2.Interface.DocumentRange => DocumentRangeInternal; 1350HRESULT ITextProvider2.Interface.GetSelection(SAFEARRAY** pRetVal) => GetTextSelection(pRetVal); 1352HRESULT ITextProvider2.Interface.GetVisibleRanges(SAFEARRAY** pRetVal) => GetTextVisibleRanges(pRetVal); 1354HRESULT ITextProvider2.Interface.RangeFromChild(IRawElementProviderSimple* childElement, ITextRangeProvider** pRetVal) 1357HRESULT ITextProvider2.Interface.RangeFromPoint(UiaPoint point, ITextRangeProvider** pRetVal) 1360SupportedTextSelection ITextProvider2.Interface.SupportedTextSelection => SupportedTextSelectionInternal; 1362HRESULT ITextProvider2.Interface.GetCaretRange(BOOL* isActive, ITextRangeProvider** pRetVal) => GetTextCaretRange(isActive, pRetVal); 1364HRESULT ITextProvider2.Interface.RangeFromAnnotation(IRawElementProviderSimple* annotationElement, ITextRangeProvider** pRetVal)
System.Windows.Forms.Primitives (51)
_generated\255\Windows.Win32.ITextProvider2.g.cs (43)
27 :winmdroot.IVTable<ITextProvider2,ITextProvider2.Vtbl>,IComIID { 44 return ((delegate *unmanaged [Stdcall]<ITextProvider2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((ITextProvider2*)Unsafe.AsPointer(ref this), riid, ppvObject); 49 return ((delegate *unmanaged [Stdcall]<ITextProvider2*,uint>)lpVtbl[1])((ITextProvider2*)Unsafe.AsPointer(ref this)); 54 return ((delegate *unmanaged [Stdcall]<ITextProvider2*,uint>)lpVtbl[2])((ITextProvider2*)Unsafe.AsPointer(ref this)); 60 private static winmdroot.Foundation.HRESULT GetSelection(ITextProvider2* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 80 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((ITextProvider2*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 87 private static winmdroot.Foundation.HRESULT GetVisibleRanges(ITextProvider2* pThis, winmdroot.System.Com.SAFEARRAY** pRetVal) 107 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((ITextProvider2*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 114 private static winmdroot.Foundation.HRESULT RangeFromChild(ITextProvider2* pThis, winmdroot.UI.Accessibility.IRawElementProviderSimple* childElement, winmdroot.UI.Accessibility.ITextRangeProvider** pRetVal) 134 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.IRawElementProviderSimple* ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((ITextProvider2*)Unsafe.AsPointer(ref this), childElement, &__retVal).ThrowOnFailure(); 141 private static winmdroot.Foundation.HRESULT RangeFromPoint(ITextProvider2* pThis, winmdroot.UI.Accessibility.UiaPoint point, winmdroot.UI.Accessibility.ITextRangeProvider** pRetVal) 161 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.UiaPoint ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((ITextProvider2*)Unsafe.AsPointer(ref this), point, &__retVal).ThrowOnFailure(); 168 private static winmdroot.Foundation.HRESULT get_DocumentRange(ITextProvider2* pThis, winmdroot.UI.Accessibility.ITextRangeProvider** pRetVal) 191 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((ITextProvider2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); 199 private static winmdroot.Foundation.HRESULT get_SupportedTextSelection(ITextProvider2* pThis, winmdroot.UI.Accessibility.SupportedTextSelection* pRetVal) 222 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.SupportedTextSelection* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((ITextProvider2*)Unsafe.AsPointer(ref this), &__result).ThrowOnFailure(); 230 private static winmdroot.Foundation.HRESULT RangeFromAnnotation(ITextProvider2* pThis, winmdroot.UI.Accessibility.IRawElementProviderSimple* annotationElement, winmdroot.UI.Accessibility.ITextRangeProvider** pRetVal) 261 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.IRawElementProviderSimple* ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((ITextProvider2*)Unsafe.AsPointer(ref this), annotationElement, &__retVal).ThrowOnFailure(); 279 private static winmdroot.Foundation.HRESULT GetCaretRange(ITextProvider2* pThis, winmdroot.Foundation.BOOL* isActive, winmdroot.UI.Accessibility.ITextRangeProvider** pRetVal) 311 ((delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.Foundation.BOOL* ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((ITextProvider2*)Unsafe.AsPointer(ref this), isActive, &__retVal).ThrowOnFailure(); 338 internal delegate *unmanaged [Stdcall]<ITextProvider2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 340 internal delegate *unmanaged [Stdcall]<ITextProvider2*,uint> AddRef_2; 342 internal delegate *unmanaged [Stdcall]<ITextProvider2*,uint> Release_3; 344 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetSelection_4; 346 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.System.Com.SAFEARRAY** ,winmdroot.Foundation.HRESULT> GetVisibleRanges_5; 348 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.IRawElementProviderSimple* ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT> RangeFromChild_6; 350 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.UiaPoint ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT> RangeFromPoint_7; 352 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT> get_DocumentRange_8; 354 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.SupportedTextSelection* ,winmdroot.Foundation.HRESULT> get_SupportedTextSelection_9; 356 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.UI.Accessibility.IRawElementProviderSimple* ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT> RangeFromAnnotation_10; 358 internal delegate *unmanaged [Stdcall]<ITextProvider2*,winmdroot.Foundation.BOOL* ,winmdroot.UI.Accessibility.ITextRangeProvider** ,winmdroot.Foundation.HRESULT> GetCaretRange_11;
_generated\578\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) 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) 43 /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextProvider2.Interface.GetCaretRange(winmdroot.Foundation.BOOL*, winmdroot.UI.Accessibility.ITextRangeProvider**)"/> 44 internal static unsafe winmdroot.Foundation.HRESULT GetCaretRange(this winmdroot.UI.Accessibility.ITextProvider2.Interface @this, out winmdroot.Foundation.BOOL isActive, winmdroot.UI.Accessibility.ITextRangeProvider** pRetVal)
System\Windows\Forms\Automation\UiaTextProvider.cs (2)
12internal abstract unsafe class UiaTextProvider : ITextProvider.Interface, ITextProvider2.Interface, IManagedWrapper<ITextProvider2, ITextProvider>