MidiDevices.InputOutputDisconnect method |
|
Remarks
Interrupts an existing direct connection between a MIDI input device and a MIDI output device previously established through the MidiDevices.InputOutputConnect method.
For further details about the use of MIDI devices see the MidiDevices object section and the How to manage MIDI devices tutorial.
Syntax
[Visual Basic] control.MidiDevices.InputOutputDisconnect ( nInputDeviceUniqueId as Integer ) as enumDjcErrorCodes |
[C++] short control.MidiDevices.InputOutputDisconnect ( short nInputDeviceUniqueId ); |
Parameter |
Description |
|
|
nInputDeviceUniqueId |
The unique identifier of the MIDI input device used for the previously established connection through the MidiDevices.InputOutputConnect method |
Return value
Value |
Meaning |
|
|
enumDjcErrorCodes.ERR_DJC_NOERROR (0) |
The call was successful. |
Negative value |
An error occurred: see the LastError property for further error details or for a list of the possible error values. |