Exemplo n.º 1
0
        public SimpleApi()
        {
            var         numDevs = midiOutGetNumDevs();
            MidiOutCaps myCaps  = new MidiOutCaps();
            var         res     = midiOutGetDevCaps(0, ref myCaps,
                                                    (UInt32)Marshal.SizeOf(myCaps));

            res = midiOutOpen(out handle, 0, null, 0, 0);
        }         // SimpleApi
Exemplo n.º 2
0
 private static extern int midiOutGetDevCaps(Int32 uDeviceID,
                                             ref MidiOutCaps lpMidiOutCaps, UInt32 cbMidiOutCaps);