using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("DDF780BD-99C9-40D3-B35C-57083D3ED996")] public interface IProcessStatusCallback { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void NotifyProcessStatus([In] int lPlatformID, [In][MarshalAs(UnmanagedType.BStr)] string bstrProcessIdentity, [In] int lPrivateData, [In] tagPlatformProcessStatus lProcessStatus); }