using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace ArchestrA.MxAccess; [ComImport] [ClassInterface(0)] [ComSourceInterfaces("ArchestrA.MxAccess._ILMXProxyServerEvents\0ArchestrA.MxAccess._ILMXProxyServerEvents2\0\0")] [TypeLibType(2)] [Guid("C30B52F5-2CB5-4760-AF0A-3A344A7EB5DC")] public class LMXProxyServerClass : ILMXProxyServer5, LMXProxyServer, _ILMXProxyServerEvents_Event, _ILMXProxyServerEvents2_Event { public virtual extern event _ILMXProxyServerEvents_OnDataChangeEventHandler OnDataChange; public virtual extern event _ILMXProxyServerEvents_OnWriteCompleteEventHandler OnWriteComplete; public virtual extern event _ILMXProxyServerEvents_OperationCompleteEventHandler OperationComplete; public virtual extern event _ILMXProxyServerEvents2_OnBufferedDataChangeEventHandler OnBufferedDataChange; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743808)] public virtual extern int Register([In][MarshalAs(UnmanagedType.BStr)] string pClientName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743809)] public virtual extern void Unregister([In] int hLMXServerHandle); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743810)] public virtual extern int AddItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743811)] public virtual extern void RemoveItem([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743812)] public virtual extern void Advise([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743813)] public virtual extern void UnAdvise([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610743814)] public virtual extern 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)] public virtual extern 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)] public virtual extern 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)] public virtual extern int ArchestrAUserToId([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string UserIdGuid); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610874880)] public virtual extern int AddItem2([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610940416)] public virtual extern void Write2([In] int hLMXServerHandle, [In] int hItem, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime, [In] int UserID); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610940417)] public virtual extern void WriteSecured2([In] int hLMXServerHandle, [In] int hItem, [In] int CurrentUserID, [In] int VerifierUserID, [In][MarshalAs(UnmanagedType.Struct)] object pItemValue, [In][MarshalAs(UnmanagedType.Struct)] object pItemTime); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610940418)] public virtual extern void Suspend([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610940419)] public virtual extern void Activate([In] int hLMXServerHandle, [In] int hItem, out MxStatus pMxStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1610940420)] public virtual extern void AdviseSupervisory([In] int hLMXServerHandle, [In] int hItem); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1611005952)] public virtual extern int AddBufferedItem([In] int hLMXServerHandle, [In][MarshalAs(UnmanagedType.BStr)] string strItemDef, [In][MarshalAs(UnmanagedType.BStr)] string strItemCtxt); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1611005953)] public virtual extern void SetBufferedUpdateInterval([In] int hLMXServerHandle, [In] int lUpdateInterval); }