using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Interop.NmxAdptr; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("70FEF3FA-7E71-400E-B1BA-0C8ADE1E7ED8")] public interface IUdpMessage { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] void SendUdpData([In] int lPlatformID, [In] int lMessageID, [In][ComAliasName("Interop.NmxAdptr.ActionTypes")] ActionTypes usType, [In] int lSize, [In] ref byte pMsgBody); }