using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.LmxProxy; [ComImport] [Guid("CCE67FB7-EAFD-4367-9212-617043BF126D")] [TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)] public interface ILMXProxyServer { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743808)] int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743809)] void Unregister([In] int hLMXServerHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743810)] int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743811)] void RemoveItem([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743812)] void Advise([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743813)] void UnAdvise([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743814)] void Write([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In] int userId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743815)] void WriteSecured([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743816)] int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw); }