using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.LmxProxy; [ComImport] [TypeLibType(TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)] [Guid("020A8A87-69C5-497F-A893-B629E669FBFF")] public interface ILMXProxyServer2 : ILMXProxyServer { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743808)] new int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743809)] new void Unregister([In] int hLMXServerHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743810)] new int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743811)] new void RemoveItem([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743812)] new void Advise([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743813)] new void UnAdvise([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743814)] new 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)] new 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)] new int AuthenticateUser([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUser, [In][MarshalAs(UnmanagedType.BStr)] string VerifyUserPsw); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610809344)] int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid); }