// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ------------------------------------------------------------------------------ #pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981,SYSLIB1092,CS3021,CS3019 using global::System; using global::System.Diagnostics; using global::System.Diagnostics.CodeAnalysis; using global::System.Runtime.CompilerServices; using global::System.Runtime.InteropServices; using global::System.Runtime.Versioning; using winmdroot = global::Windows.Win32; namespace Windows.Win32 { [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal static partial class UI_Accessibility_ITextRangeProvider_Extensions { /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.Compare(winmdroot.UI.Accessibility.ITextRangeProvider*, winmdroot.Foundation.BOOL*)"/> internal static unsafe winmdroot.Foundation.HRESULT Compare(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, winmdroot.UI.Accessibility.ITextRangeProvider* range, out winmdroot.Foundation.BOOL pRetVal) { fixed (winmdroot.Foundation.BOOL* pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.Compare(range, pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.CompareEndpoints(winmdroot.UI.Accessibility.TextPatternRangeEndpoint, winmdroot.UI.Accessibility.ITextRangeProvider*, winmdroot.UI.Accessibility.TextPatternRangeEndpoint, int*)"/> internal static unsafe winmdroot.Foundation.HRESULT CompareEndpoints(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, winmdroot.UI.Accessibility.TextPatternRangeEndpoint endpoint, winmdroot.UI.Accessibility.ITextRangeProvider* targetRange, winmdroot.UI.Accessibility.TextPatternRangeEndpoint targetEndpoint, out int pRetVal) { fixed (int* pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.CompareEndpoints(endpoint, targetRange, targetEndpoint, pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.GetAttributeValue(winmdroot.UI.Accessibility.UIA_TEXTATTRIBUTE_ID, winmdroot.System.Variant.VARIANT*)"/> internal static unsafe winmdroot.Foundation.HRESULT GetAttributeValue(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, winmdroot.UI.Accessibility.UIA_TEXTATTRIBUTE_ID attributeId, out winmdroot.System.Variant.VARIANT pRetVal) { fixed (winmdroot.System.Variant.VARIANT* pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.GetAttributeValue(attributeId, pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.GetBoundingRectangles(winmdroot.System.Com.SAFEARRAY**)"/> internal static unsafe winmdroot.Foundation.HRESULT GetBoundingRectangles(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) { fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.GetBoundingRectangles(pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.GetText(int, winmdroot.Foundation.BSTR*)"/> internal static unsafe winmdroot.Foundation.HRESULT GetText(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, int maxLength, out winmdroot.Foundation.BSTR pRetVal) { fixed (winmdroot.Foundation.BSTR* pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.GetText(maxLength, pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.Move(winmdroot.UI.Accessibility.TextUnit, int, int*)"/> internal static unsafe winmdroot.Foundation.HRESULT Move(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, winmdroot.UI.Accessibility.TextUnit unit, int count, out int pRetVal) { fixed (int* pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.Move(unit, count, pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.MoveEndpointByUnit(winmdroot.UI.Accessibility.TextPatternRangeEndpoint, winmdroot.UI.Accessibility.TextUnit, int, int*)"/> internal static unsafe winmdroot.Foundation.HRESULT MoveEndpointByUnit(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, winmdroot.UI.Accessibility.TextPatternRangeEndpoint endpoint, winmdroot.UI.Accessibility.TextUnit unit, int count, out int pRetVal) { fixed (int* pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.MoveEndpointByUnit(endpoint, unit, count, pRetValLocal); return __result; } } /// <inheritdoc cref="winmdroot.UI.Accessibility.ITextRangeProvider.Interface.GetChildren(winmdroot.System.Com.SAFEARRAY**)"/> internal static unsafe winmdroot.Foundation.HRESULT GetChildren(this winmdroot.UI.Accessibility.ITextRangeProvider.Interface @this, out winmdroot.System.Com.SAFEARRAY* pRetVal) { fixed (winmdroot.System.Com.SAFEARRAY** pRetValLocal = &pRetVal) { winmdroot.Foundation.HRESULT __result = @this.GetChildren(pRetValLocal); return __result; } } } }