using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [Guid("D0273309-213B-46EF-ABDA-1987A315666B")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IInternalAccessManagerHost2 : IInternalAccessManagerHost { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void Initialize([In] int platformId, [In] int engineId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetEngineId(out int engineId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetEngineName([MarshalAs(UnmanagedType.BStr)] out string engineName); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void ExecuteAutomationObject([In] int AutomationObjectId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [return: MarshalAs(UnmanagedType.Interface)] new CoBaseRuntimeObject GetAutomationObject([In] int AutomationObjectId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetQueueInfo(out int numberMessagesQueued, out int queueSizeInBytes); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void SetQueueExtent([In] int dwNewExtent, [In] short QueueType); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void CreateGuaranteedQueue([In] int maxExtent); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void DeleteGuaranteedQueue([In] int engineId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetMxStatusDescription([In] MxStatus status, [MarshalAs(UnmanagedType.BStr)] out string description); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void RetrieveObjectInfo([In][MarshalAs(UnmanagedType.Interface)] MxValue parameters, [In][MarshalAs(UnmanagedType.Interface)] MxValue result); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetFoldingCnt(out int count); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void NotifyObjectQuarantined([In] int ObjectID); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetQuarantinedObjectCnt(out int count); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetProtocolInfo([MarshalAs(UnmanagedType.BStr)] out string lmxversion, [MarshalAs(UnmanagedType.BStr)] out string nmxversion); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetPlatformId(out int platformId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetAutomationObjectIdByName([In][MarshalAs(UnmanagedType.LPWStr)] string objectName, out int ObjectID); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void SetMessageTimeout([In] int TimeoutValue); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void DisableFolding([In] ushort ObjectID, [In] ref MxAttributeHandle attribute); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void SubscribedAttributeChanged([In] int ObjectID); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetPublishPacketCnts(out int PublishPacketsSentCount, out int PublishPacketsReceivedCount); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void GetNmxSvcStatistics(out tagNmxSvcStatsInfo pNmxSvcStats); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] new void ResetSvcStatistics(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void InitializeRedundantEngine([In] tagRedundancyIdentity failoverIdentity, [In] tagMxInitialState mxState, [In] int platformId, [In] int engineId); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void SetNmxPlatformCfgInfo([In] tagNmxPlatformCfgInfo nmxPlatformCfgInfo); }