using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace LumiSoft.Media.Wave.Native { /// /// This class represents WAVEOUTCAPS structure. /// [StructLayout(LayoutKind.Sequential)] internal struct WAVEOUTCAPS { /// /// Manufacturer identifier for the device driver for the device. /// public ushort wMid; /// /// Product identifier for the device. /// public ushort wPid; /// /// Version number of the device driver for the device. /// public uint vDriverVersion; /// /// Product name in a null-terminated string. /// [MarshalAs(UnmanagedType.ByValTStr,SizeConst = 32)] public string szPname; /// /// Standard formats that are supported. /// public uint dwFormats; /// /// Number specifying whether the device supports mono (1) or stereo (2) output. /// public ushort wChannels; /// /// Packing. /// public ushort wReserved1; /// /// Optional functionality supported by the device. /// public uint dwSupport; } }