using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.LmxProxy; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("30B05B02-D834-11D3-8239-00104B5F96A7")] public interface IMxReference : IPersistStream { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetClassID(out Guid pClassID); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void IsDirty(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void Load([In][MarshalAs(UnmanagedType.Interface)] IStream pstm); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void Save([In][MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] int fClearDirty); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetSizeMax(out _ULARGE_INTEGER pcbSize); [DispId(1)] string FullReferenceString { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] get; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [param: In] [param: MarshalAs(UnmanagedType.LPWStr)] set; } [DispId(2)] string AutomationObjectReferenceString { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] get; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [param: In] [param: MarshalAs(UnmanagedType.LPWStr)] set; } [DispId(3)] string AttributeReferenceString { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] get; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [param: In] [param: MarshalAs(UnmanagedType.LPWStr)] set; } [DispId(4)] MxResolutionStatus AutomationObjectResolutionStatus { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] get; } [DispId(5)] MxResolutionStatus AttributeResolutionStatus { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] get; } [DispId(6)] string Context { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.BStr)] get; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [param: In] [param: MarshalAs(UnmanagedType.LPWStr)] set; } [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] MxReference GenerateEnumStringsReference([In][MarshalAs(UnmanagedType.Interface)] MxValue pMxValue); }