Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileTypedItemCountGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enumerates items of a specific type contained inside the profile of the DJ Console. After completing the enumeration, the name of each item of the enumerated type can be retrieved through the MidiDjConsole.ProfileTypedItemNameGet method.

 

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.ProfileTypedItemCountGet (

nItemType as enumDjConsoleItemType,

nCount as Long

) as enumDjcErrorCodes


 

[C++]

short control.MidiDjConsole.ProfileTypedItemCountGet (

short nItemType,

long *nCount

);


 

Parameter

Description

 

 

nItemType

Specifies the type of item whose number must be obtained.

Supported values are the following:

Mnemonic constant

Value

Meaning

DJC_ITEM_TYPE_ALL

-1

Include all types of items inside the enumeration.

This option has the same effect of a call to the MidiDjConsole.ProfileItemCountGet method.

DJC_ITEM_TYPE_BUTTON

0

Only simple push button controls are enumerated.

DJC_ITEM_TYPE_BUTTON_WITH_LED

1

Only push button controls with an embedded led are enumerated.

DJC_ITEM_TYPE_RANGE

2

Only range controls are enumerated.

DJC_ITEM_TYPE_LED

3

Only led and VFD (Vacuum Fluorescent Display) controls are enumerated.

DJC_ITEM_TYPE_DISPLAY

4

Only VFD (Vacuum Fluorescent Display) elements not driven as a simple led are enumerated.

nCount

Reference that, on return from the method call, will contain the number of items of the given type

 

 

Return value

 

Value

Meaning

 

 

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The call was successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.