Midi.GetDevice(IntPtr) 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(IntPtr deviceIndex);
static member GetDevice : nativeint -> CoreMidi.MidiDevice
Parameters
- deviceIndex
-
IntPtr
nativeint
The device index.
Returns
An instance of MidiDevice, or null on error.