using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [ClassInterface(ClassInterfaceType.None)] [TypeLibType(TypeLibTypeFlags.FCanCreate)] [Guid("F2B877E4-1DBE-11D3-80AD-00104B5F96A7")] public class ReferenceStringParserClass : IReferenceStringParser, ReferenceStringParser { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void ParseAutomationObjectHandle([In][MarshalAs(UnmanagedType.Interface)] MxReference pMxReference, [In][MarshalAs(UnmanagedType.Interface)] IAutomationObjectNameProvider pAutomationObjectNameProvider, out bool isDynamic); }