예제 #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);
        }
예제 #2
0
 public static extern MmResult midiOutGetDevCaps(IntPtr deviceNumber, out MidiOutCapabilities caps, int uSize);