using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("4AB54264-3B7A-49C1-8765-B6F905EAD0C3")] public interface AsyncIPlatformStatusCallback { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Begin_NotifyPlatformStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrPlatformName, [In] tagPlatformStatus lPlatformStatus, [In] int lPlatformEngineStatus); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void Finish_NotifyPlatformStatus(); }