MIDI.InputDevicesStop method |
|
Remarks
Stops a MIDI input device previously started through the MIDI.InputDevicesStartOnPlayer method or through the MIDI.InputDevicesStart method.
For further details about the use of MIDI protocol see the MIDIMan class section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] Public Function InputDevicesStop ( nDeviceIndex as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes InputDevicesStop ( Int32 nDeviceIndex ); |
[C++] public: enumErrorCodes InputDevicesStop ( Int32 nDeviceIndex ); |
Parameter |
Description |
|
|
nDeviceIndex |
Number representing the zero-based index of the MIDI input device. The number of available MIDI input devices installed inside the system can be obtained directly to the MIDI.InputDevicesEnum method or, after having performed the enumeration, through the MIDI.InputDevicesCountGet method. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |