using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("F2B877E3-1DBE-11D3-80AD-00104B5F96A7")] public interface IReferenceStringParser { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void ParseAutomationObjectHandle([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In][MarshalAs(UnmanagedType.Interface)] IAutomationObjectNameProvider pAutomationObjectNameProvider, out bool isDynamic); }