using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("F2B877E6-1DBE-11D3-80AD-00104B5F96A7")] public interface IAttributeNameProvider { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] 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)] 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); }