Copyright © 2013-2015 MultiMedia Soft

MidiDevicesConfigChanged event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the configuration of MIDI devices is changed. 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 input events management see the How to synchronize the container application with the control tutorial.

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]

MidiDevicesConfigChanged (

nChangeType as enumMidiDevicesConfigChanges

)


 

[C++]

void MidiDevicesConfigChanged (

short nChangeType

);


 

 

Parameter

Description

 

 

nChangeType

Specifies which type of change(s) occurred inside the configuration of MIDI devices.

Can be a combination of the following values:

Mnemonic constant

Value

Meaning

MIDI_CHANGE_INPUT_ADDED

1

An input MIDI device has been added

MIDI_CHANGE_INPUT_REMOVED

2

An input MIDI device has been removed

MIDI_CHANGE_OUTPUT_ADDED

4

An output MIDI device has been added

MIDI_CHANGE_OUTPUT_REMOVED

8

An output MIDI device has been removed