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

MidiDevices.MidiDjConsole.ProfileInfoStringSet (

nStringType as enumProfileInfoStringType,

strInfo as String

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileInfoStringSet (

enumProfileInfoStringType nStringType,

string strInfo

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileInfoStringSet (

enumProfileInfoStringType nStringType,

string 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

 

 

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.