Edit

Share via


Midi.GetExternalDevice(nint) Method

Definition

Returns an object representing the specified external MIDI device.

public static CoreMidi.MidiDevice GetExternalDevice (nint deviceIndex);
static member GetExternalDevice : nint -> CoreMidi.MidiDevice

Parameters

deviceIndex
System.System.IntPtr System.nativeint

The external MIDI device index.

Returns

An instance of MidiDevice, or null on error.

Applies to