using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("CFC6372F-0DA8-4278-A988-F1825C7916A0")] public interface IMxCallback2 { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void OperationComplete([In] int lCallbackId, [In] ref MxStatus pMxStatus, [In][MarshalAs(UnmanagedType.BStr)] string pStatusDescription); }