Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileItemTypeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the type of physical control for an item available inside the profile of the 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]

MidiDevices.MidiDjConsole.ProfileItemTypeGet (

strItemName as String,

ByRef nItemType as enumDjConsoleItemType

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileItemTypeGet (

string strItemName,

ref enumDjConsoleItemType nItemType

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileItemTypeGet (

string strItemName,

enumDjConsoleItemType __gc *nItemType

);


 

Parameter

Description

 

 

strItemName

String containing the name of the item whose type must be retrieved.

nItemType

Reference that, on return from the method call, will contain the type of the item.

Supported values are the following:

Mnemonic constant

Value

Meaning

DJC_ITEM_TYPE_BUTTON

0

The item is a push button control.

DJC_ITEM_TYPE_BUTTON_WITH_LED

1

The item is a button control with an embedded led are enumerated.

DJC_ITEM_TYPE_RANGE

2

The item is a range control.

DJC_ITEM_TYPE_LED

3

The item is a led control or a VFD (Vacuum Fluorescent Display) symbol driven as a led.

DJC_ITEM_TYPE_DISPLAY

4

The item is a VFD (Vacuum Fluorescent Display) element not driven as a simple led, for example the track number or the position of the track.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The method call was successful.