Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.IsConnected method

Previous pageReturn to chapter overviewNext page

Remarks

 

Verify the presence of a connection between the instance of the component and a DJ Console.

 

For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.

 

 

Syntax

 

[Visual Basic]

control.MidiDjConsole.IsConnected (

nInputDeviceUniqueId as Integer,

nOutputDeviceUniqueId as Integer

) as Boolean


 

[C++]

BOOL control.MidiDjConsole.IsConnected (

short *nInputDeviceUniqueId,

short *nInputDeviceUniqueId

);


 

 

 

Parameter

Description

 

 

nInputDeviceUniqueId

Reference that, on return from the method call, will contain the unique identifier of the MIDI input device used to establish the connection to the DJ Console through the MidiDjConsole.Connect method. In case there should be no connection available, the returned value would be set to -1.

nOutputDeviceUniqueId

Reference that, on return from the method call, will contain the unique identifier of the MIDI output device used to establish the connection to the DJ Console through the MidiDjConsole.Connect method. In case there should be no connection available, the returned value would be set to -1.

 

 

Return value

 

Value

Meaning

 

 

TRUE

The DJ Console is connected.

FALSE

The DJ Console is disconnected.