Ejemplo n.º 1
0
 /// <summary>
 /// Gets the MIDI Out device info
 /// </summary>
 public static MidiOutCapabilities DeviceInfo(int midiOutDeviceNumber)
 {
     MidiOutCapabilities caps = new MidiOutCapabilities();
     int structSize = Marshal.SizeOf(caps);
     MmException.Try(MidiInterop.midiOutGetDevCaps((IntPtr)midiOutDeviceNumber, out caps, structSize), "midiOutGetDevCaps");
     return caps;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Gets the MIDI Out device info
        /// </summary>
        public static MidiOutCapabilities DeviceInfo(int midiOutDeviceNumber)
        {
            MidiOutCapabilities caps = new MidiOutCapabilities();
            int structSize           = Marshal.SizeOf(caps);

            MmException.Try(MidiInterop.midiOutGetDevCaps((IntPtr)midiOutDeviceNumber, out caps, structSize), "midiOutGetDevCaps");
            return(caps);
        }
Ejemplo n.º 3
0
 public static extern MmResult midiOutGetDevCaps(IntPtr deviceNumber, out MidiOutCapabilities caps, int uSize);
Ejemplo n.º 4
0
 public static extern MmResult midiOutGetDevCaps(IntPtr deviceNumber, out MidiOutCapabilities caps, int uSize);