Copyright © 2013-2014 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]

MidiDjConsole.IsConnected (

ByRef nInputDeviceUniqueId as Int16,

ByRef nOutputDeviceUniqueId as Int16

) as Boolean


 

[C#]

public bool MidiDjConsole.IsConnected (

ref Int16 nInputDeviceUniqueId,

ref Int16 nInputDeviceUniqueId

);


 

[C++]

public: bool MidiDjConsole.IsConnected (

Int16 __gc *nInputDeviceUniqueId,

Int16 __gc *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.