Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileInfoStringSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies a string containing information about the DJ Console profile. The current specific information string can be obtained through the MidiDjConsole.ProfileInfoStringGet 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.ProfileInfoStringSet (

nStringType as enumProfileInfoStringType,

strInfo as String

) as enumDjcErrorCodes


 

[C++]

short control.MidiDjConsole.ProfileInfoStringSet (

short nStringType,

BSTR strInfo

);


 

Parameter

Description

 

 

nStringType

Specifies the type of information string to modify.

Supported values are the following:

Mnemonic constant

Value

Meaning

PROF_INFO_STRING_DEVICE_NAME

0

Name of the MIDI device as reported to the system by the driver of the DJ Console

PROF_INFO_STRING_NAME

1

Name of the profile.

The name's string is UNICODE compliant so can support languages using the double-byte convention.

PROF_INFO_STRING_DESCRIPTION

2

Description of the profile.

The description's string is UNICODE compliant so can support languages using the double-byte convention.

PROF_INFO_STRING_AUTHOR

3

Author which developed the profile

The author's string is UNICODE compliant so can support languages using the double-byte convention.

PROF_INFO_STRING_URL

4

URL to a web page containing eventual further information about the profile

strInfo

String containing information to insert.

 

 

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.