Exemplo n.º 1
0
        public static MidiOutCapabilities DeviceInfo(int midiOutDeviceNumber)
        {
            MidiOutCapabilities midiOutCapabilities = default(MidiOutCapabilities);
            int uSize = Marshal.SizeOf(midiOutCapabilities);

            MmException.Try(MidiInterop.midiOutGetDevCaps((IntPtr)midiOutDeviceNumber, out midiOutCapabilities, uSize), "midiOutGetDevCaps");
            return(midiOutCapabilities);
        }
Exemplo n.º 2
0
 public static extern MmResult midiOutGetDevCaps(IntPtr deviceNumber, out MidiOutCapabilities caps, int uSize);