using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [Guid("05329473-F0DE-4C3C-ADAA-C11E484296EF")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IAttributeNameProvider2 : IAttributeNameProvider { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void ResolvePrimitiveReference([In][MarshalAs(UnmanagedType.BStr)] string AutomationObjectName, [In][MarshalAs(UnmanagedType.BStr)] string primitiveName, [In][Out] ref short pPrimitiveId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void ResolveAttributeReference([In][MarshalAs(UnmanagedType.BStr)] string AutomationObjectName, [In][MarshalAs(UnmanagedType.BStr)] string primitiveName, [In][MarshalAs(UnmanagedType.BStr)] string attributeName, [In][Out] ref short pPrimitiveId, [In][Out] ref short pAttributeId, out bool isDynamic); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void ResolveAttributeReference2([In][MarshalAs(UnmanagedType.BStr)] string AutomationObjectName, [In][MarshalAs(UnmanagedType.BStr)] string primitiveName, [In][MarshalAs(UnmanagedType.BStr)] string attributeName, [In][Out] ref short pPrimitiveId, [In][Out] ref short pAttributeId, out bool isDynamic, out bool HasQuality, out bool HasTimestamp); }