MidiDevices.IsOpened method |
![]() ![]() ![]() |
Remarks
Verify if the given MIDI input or output device is currently opened.
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] control.MidiDevices.IsOpened ( nDeviceUniqueId as Integer ) as Boolean |
[C++] BOOL control.MidiDevices.IsOpened ( short nDeviceUniqueId ); |
Parameter |
Description |
|
|
nDeviceUniqueId |
The unique identifier of the MIDI device returned by a previous call to the MidiDevices.Open method |
Return value
Value |
Meaning |
|
|
TRUE |
The MIDI device is opened. |
FALSE |
The MIDI device is closed. |