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 ClassMidiDevices class section and the How to manage MIDI devices tutorial.
Syntax
[Visual Basic] MidiDevices.IsOpened ( nDeviceUniqueId as Int16 ) as Boolean |
[C#] public bool MidiDevices.IsOpened ( Int16 nDeviceUniqueId ); |
[C++] public: bool MidiDevices.IsOpened ( Int16 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. |