using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.Lmx; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("40467D04-81C0-4FD1-821A-27FC4158130E")] public interface AsyncIRedundancyNotify { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyRedundancyStatusChange([In] int lPlatformId, [In] int lEngineId, [In] int lPartnerPlatformId, [In] int lPartnerEngineId, [In][MarshalAs(UnmanagedType.BStr)] string bstrEngineName, [In] tagRedundancyIdentity eIdentity, [In] tagRedundancyStatus eStatus, [In] tagRedundancySubStatus eSubStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyRedundancyStatusChange(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyRedundancyEvent([In] int lEngineId, [In] int lPartnerPlatformId, [In] int lPartnerEngineId, [In] tagRedundancyEvent eEvent); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyRedundancyEvent(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyRedundancyOperation([In] int lEngineId, [In] tagRedundancyOperation eOperation); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyRedundancyOperation(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyData([In] int lEngineId, [In] int lType, [In] int lReference, [In] int lLength, [In] ref byte pBuffer); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyData(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyDataAck([In] int lEngineId, [In] int lType, [In] int lReference, [In] int lAckCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyDataAck(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyEngineSwitchingToActive([In] int engineThatWasActive, [In] int platformOfEngineThatWasActive, [In] int newActiveEngineId, [In] int newActiveEnginePlatformId, [In] int forceFailoverMaxTimeAllowed); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyEngineSwitchingToActive(); }