using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxSvc; [ComImport] [Guid("73849AEA-472A-4715-B8C6-1C806AF12DFC")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface INmxNotify { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void ConnectionEstablished([In] int lPlatformID, [In] int lReference, [In] tagNmxSvcConnectionStatus eConnStatus, [In] int lDetailCode); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void ConnectionClosed([In] int lPlatformID, [In] int lReference); }