CallbackMidiDevicesConfigChanged delegate |
|
Remarks
Callback delegate invoked from a secondary thread 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.
In order to allow the component invoking this delegate at runtime, the container application must invoke the CallbackMidiDevicesConfigChangedSet method passing the address of the callback function.
For further details about callback delegates see the How to synchronize the container application with the API tutorial.
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] Public Delegate Sub CallbackMidiDevicesConfigChanged ( nChangeType as enumMidiDevicesConfigChanges, nUserData as Int32 ) |
[C#] public delegate void CallbackMidiDevicesConfigChanged ( enumMidiDevicesConfigChanges nChangeType, Int32 nUserData ) |
[C++] public delegate void CallbackMidiDevicesConfigChanged ( enumMidiDevicesConfigChanges nChangeType, Int32 nUserData ) |
Parameter |
Description |
|||||||||||||||
|
|
|||||||||||||||
nChangeType |
Specifies which type of change(s) occurred inside the configuration of MIDI devices. Can be a combination of the following values:
|
|||||||||||||||
nUserData |
User instance data |