[StructLayout(LayoutKind.Sequential)]
struct MIDIOUTCAPS
{
public ushort wMid;
public ushort wPid;
public uint vDriverVersion; //MMVERSION
[MarshalAs(UnmanagedType.ByValTStr, SizeConst= 32)]
public string szPname;
public ushort wTechnology;
public ushort wVoices;
public ushort wNotes;
public ushort wChannelMask;
public uint dwSupport;
}
// values for wTechnology field of MIDIOUTCAPS structure
private const ushort MOD_MIDIPORT = 1; // output port
private const ushort MOD_SYNTH = 2; // generic internal synth
private const ushort MOD_SQSYNTH = 3; // square wave internal synth
private const ushort MOD_FMSYNTH = 4; // FM internal synth
private const ushort MOD_MAPPER = 5; // MIDI mapper
private const ushort MOD_WAVETABLE = 6; // hardware wavetable synth
private const ushort MOD_SWSYNTH = 7; // software synth
// flags for dwSupport field of MIDIOUTCAPS structure
private const int MIDICAPS_VOLUME = 1; // supports volume control
private const int MIDICAPS_LRVOLUME = 2; // separate left-right volume control
private const int MIDICAPS_CACHE = 4;
private const int MIDICAPS_STREAM = 8; // driver supports midiStreamOut directly
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!
This is sample Code
//-----------------------------------------
//-----------------------------------------