MidiDevices.Reset method |
|
Remarks
Resets the internal configuration of MIDI devices by closing all opened devices.
In case a new MIDI device should have been connected via USB or enabled through the system control panel, this call will allow the corresponding device to be added to the list of available MIDI devices.
In case an existing MIDI device should have been disconnected from the USB door or disabled through the system control panel, this call will allow the corresponding device to be removed from the list of available MIDI devices.
Each time a MIDI device is connected/disconnected or enabled/disabled, the container application is notified through the MidiDevicesConfigChanged event: this specific event is only generated for the first change of MIDI devices configuration and will not be fired again until the MidiDevices.Reset method is invoked.
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.Reset ( ) as enumDjcErrorCodes |
[C#] public enumDjcErrorCodes MidiDevices.Reset ( ); |
[C++] public: enumDjcErrorCodes MidiDevices.Reset ( ); |
Return value
None