MidiDevicesOpenRemoved event |
![]() ![]() ![]() |
Remarks
Occurs when a MIDI device, previously opened through the MidiDevices.Open method, is disconnected from the system after a manual removal.
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] MidiDevicesOpenRemoved ( bInput as enumBoolean, nDeviceUniqueId as Integer, strFriendlyName as String ) |
[C++] void MidiDevicesOpenRemoved ( short bInput, short nDeviceUniqueId, BSTR strFriendlyName ); |
Parameter |
Description |
|||||||||
|
|
|||||||||
bInput |
Boolean value that specifies if the event is related to an input or an output device. Supported values are the following:
|
|||||||||
nDeviceUniqueId |
The unique identifier of the MIDI device returned by a previous call to the MidiDevices.Open method. |
|||||||||
strFriendlyName |
The friendly name of the disconnected device. |