Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileSaveWithoutDevice method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves a DJ Console profile into a XML file for later usage. A saved profile can be reloaded at a later time through the MidiDjConsole.ProfileLoad method.

 

Differently from the MidiDjConsole.ProfileSave method, which requires the specific DJ Console to be physically connected to the system and to the instance of the component, this method can be used while working "offline".

 

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

strPathname as String,

bStoreHexValues as enumBoolean

) as enumDjcErrorCodes


 

[C++]

short control.MidiDjConsole.ProfileSaveWithoutDevice (

BSTR strPathname,

short bStoreHexValues

);


 

 

Parameter

Description

 

 

strPathname

String representing the absolute pathname of the destination XML file to save.

bStoreHexValues

Boolean value that specifies if the numerical values of the various profile's items are stored inside the file as decimal or hexadecimal values..

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

Numerical values are stored in decimal format.

BOOL_TRUE

1

Numerical values are stored in hexadecimal format with the "0x" prefix.

 

 

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.