using System.Runtime.InteropServices; namespace SpeechLib { [StructLayout(LayoutKind.Sequential, Pack = 8)] [TypeLibType(528)] public struct SPEVENT { public ushort eEventId; public ushort elParamType; public uint ulStreamNum; public ulong ullAudioStreamOffset; [ComAliasName("SpeechLib.UINT_PTR")] public ulong wParam; [ComAliasName("SpeechLib.LONG_PTR")] public long lParam; } }