using System.Runtime.InteropServices; namespace SpeechLib { [StructLayout(LayoutKind.Sequential, Pack = 4)] [TypeLibType(528)] public struct SPVOICESTATUS { public uint ulCurrentStream; public uint ulLastStreamQueued; [MarshalAs(UnmanagedType.Error)] public int hrLastResult; public uint dwRunningState; public uint ulInputWordPos; public uint ulInputWordLen; public uint ulInputSentPos; public uint ulInputSentLen; public int lBookmarkId; public ushort PhonemeId; public SPVISEMES VisemeId; public uint dwReserved1; public uint dwReserved2; } }