Midi.GetDevice(nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object representing the specified MIDI device.
public static CoreMidi.MidiDevice GetDevice (nint deviceIndex);
static member GetDevice : nint -> CoreMidi.MidiDevice
Parameters
- deviceIndex
- System.System.IntPtr System.nativeint
The device index.
Returns
An instance of MidiDevice, or null on error.