using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [TypeLibType(TypeLibTypeFlags.FCanCreate)] [Guid("4169B47A-54BD-11D3-A9CC-00A0C9FB55A0")] [ClassInterface(ClassInterfaceType.None)] public class NmxStatisticsClass : INmxStatistics, NmxStatistics { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void GetNmxStatistics(out tagNmxStatsInfo pNmxStats); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public virtual extern void Reset(); }