|
// ------------------------------------------------------------------------------
// <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
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.151+58e949951d.RR")]
internal static partial class UI_Accessibility_IUIAutomation_Extensions
{
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.CompareElements(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.Foundation.BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT CompareElements(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.UI.Accessibility.IUIAutomationElement* el1, winmdroot.UI.Accessibility.IUIAutomationElement* el2, out winmdroot.Foundation.BOOL areSame)
{
fixed (winmdroot.Foundation.BOOL* areSameLocal = &areSame)
{
winmdroot.Foundation.HRESULT __result = @this.CompareElements(el1, el2, areSameLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.CompareRuntimeIds(winmdroot.System.Com.SAFEARRAY*, winmdroot.System.Com.SAFEARRAY*, winmdroot.Foundation.BOOL*)"/>
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)
{
fixed (winmdroot.Foundation.BOOL* areSameLocal = &areSame)
{
winmdroot.Foundation.HRESULT __result = @this.CompareRuntimeIds(runtimeId1, runtimeId2, areSameLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.AddPropertyChangedEventHandlerNativeArray(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.UI.Accessibility.TreeScope, winmdroot.UI.Accessibility.IUIAutomationCacheRequest*, winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler*, winmdroot.UI.Accessibility.UIA_PROPERTY_ID*, int)"/>
internal static unsafe winmdroot.Foundation.HRESULT AddPropertyChangedEventHandlerNativeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.UI.Accessibility.IUIAutomationElement* element, winmdroot.UI.Accessibility.TreeScope scope, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationPropertyChangedEventHandler* handler, ReadOnlySpan<winmdroot.UI.Accessibility.UIA_PROPERTY_ID> propertyArray)
{
fixed (winmdroot.UI.Accessibility.UIA_PROPERTY_ID* propertyArrayLocal = propertyArray)
{
winmdroot.Foundation.HRESULT __result = @this.AddPropertyChangedEventHandlerNativeArray(element, scope, cacheRequest, handler, propertyArrayLocal, propertyArray.Length);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.IntNativeArrayToSafeArray(int*, int, winmdroot.System.Com.SAFEARRAY**)"/>
internal static unsafe winmdroot.Foundation.HRESULT IntNativeArrayToSafeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, ReadOnlySpan<int> array, out winmdroot.System.Com.SAFEARRAY* safeArray)
{
fixed (winmdroot.System.Com.SAFEARRAY** safeArrayLocal = &safeArray)
{
fixed (int* arrayLocal = array)
{
winmdroot.Foundation.HRESULT __result = @this.IntNativeArrayToSafeArray(arrayLocal, array.Length, safeArrayLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.IntSafeArrayToNativeArray(winmdroot.System.Com.SAFEARRAY*, int**, int*)"/>
internal static unsafe winmdroot.Foundation.HRESULT IntSafeArrayToNativeArray(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Com.SAFEARRAY* intArray, int** array, out int arrayCount)
{
fixed (int* arrayCountLocal = &arrayCount)
{
winmdroot.Foundation.HRESULT __result = @this.IntSafeArrayToNativeArray(intArray, array, arrayCountLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.RectToVariant(winmdroot.Foundation.RECT, winmdroot.System.Variant.VARIANT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT RectToVariant(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.Foundation.RECT rc, out winmdroot.System.Variant.VARIANT var)
{
fixed (winmdroot.System.Variant.VARIANT* varLocal = &var)
{
winmdroot.Foundation.HRESULT __result = @this.RectToVariant(rc, varLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.VariantToRect(winmdroot.System.Variant.VARIANT, winmdroot.Foundation.RECT*)"/>
internal static unsafe winmdroot.Foundation.HRESULT VariantToRect(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Variant.VARIANT var, out winmdroot.Foundation.RECT rc)
{
fixed (winmdroot.Foundation.RECT* rcLocal = &rc)
{
winmdroot.Foundation.HRESULT __result = @this.VariantToRect(var, rcLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.SafeArrayToRectNativeArray(winmdroot.System.Com.SAFEARRAY*, winmdroot.Foundation.RECT**, int*)"/>
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)
{
fixed (int* rectArrayCountLocal = &rectArrayCount)
{
winmdroot.Foundation.HRESULT __result = @this.SafeArrayToRectNativeArray(rects, rectArray, rectArrayCountLocal);
return __result;
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.PollForPotentialSupportedPatterns(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.System.Com.SAFEARRAY**, winmdroot.System.Com.SAFEARRAY**)"/>
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)
{
fixed (winmdroot.System.Com.SAFEARRAY** patternNamesLocal = &patternNames)
{
fixed (winmdroot.System.Com.SAFEARRAY** patternIdsLocal = &patternIds)
{
winmdroot.Foundation.HRESULT __result = @this.PollForPotentialSupportedPatterns(pElement, patternIdsLocal, patternNamesLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.PollForPotentialSupportedProperties(winmdroot.UI.Accessibility.IUIAutomationElement*, winmdroot.System.Com.SAFEARRAY**, winmdroot.System.Com.SAFEARRAY**)"/>
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)
{
fixed (winmdroot.System.Com.SAFEARRAY** propertyNamesLocal = &propertyNames)
{
fixed (winmdroot.System.Com.SAFEARRAY** propertyIdsLocal = &propertyIds)
{
winmdroot.Foundation.HRESULT __result = @this.PollForPotentialSupportedProperties(pElement, propertyIdsLocal, propertyNamesLocal);
return __result;
}
}
}
/// <inheritdoc cref="winmdroot.UI.Accessibility.IUIAutomation.Interface.CheckNotSupported(winmdroot.System.Variant.VARIANT, winmdroot.Foundation.BOOL*)"/>
internal static unsafe winmdroot.Foundation.HRESULT CheckNotSupported(this winmdroot.UI.Accessibility.IUIAutomation.Interface @this, winmdroot.System.Variant.VARIANT value, out winmdroot.Foundation.BOOL isNotSupported)
{
fixed (winmdroot.Foundation.BOOL* isNotSupportedLocal = &isNotSupported)
{
winmdroot.Foundation.HRESULT __result = @this.CheckNotSupported(value, isNotSupportedLocal);
return __result;
}
}
}
}
|