Copyright © 2013-2015 MultiMedia Soft

MidiDevices.InputOutputDisconnect method

Previous pageReturn to chapter overviewNext page

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 ClassMidiDevices class section and the How to manage MIDI devices tutorial.

 

 

Syntax

 

[Visual Basic]

MidiDevices.MidiDevices.InputOutputDisconnect (

nInputDeviceUniqueId as Int16

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDevices.InputOutputDisconnect (

Int16 nInputDeviceUniqueId

);


 

[C++]

public: enumDjcErrorCodes MidiDevices.InputOutputDisconnect (

Int16 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

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The method call was successful.